genetika wrote:
ps.. I don't understand well the use of the directories ..
For example ..
If I have a floppy with some files on the root directory, to move these files to an HD directory I need to use the following command :
WCOPY FLP1_ TO WIN1_DIRECTORY_
Is it correct?
How is possible to remove a directory or remove its contents?
Thanks in advance!!!
Massimino
Yes the WCOPY command is correct - however, it does not create a directory as such (ie, DIR win1_ will show every file, including those in directories),
eg.
WIN1_boot
WIN1_test_bas
WIN1_DIRECTORY_test_bas
WIN1_DIRECTORY_test_cde
WIN1_DIRECTORY_test_asm
What you need to do is then use MAKE_DIR win1_DIRECTORY
Now DIR win1_ reports:
WIN1_boot
WIN1_test_bas
WIN1_DIRECTORY ->
DIR win1_DIRECTORY_ gives
WIN1_DIRECTORY_test_bas
WIN1_DIRECTORY_test_cde
WIN1_DIRECTORY_test_asm
To delete files from the directory, use:
WDEL win1_DIRECTORY_
Once the directory is empty, you can then delete the directory itself with:
DELETE win1_DIRECTORY