Shane67 did have the md and cd commands correct. However, your problem now is that DOS combined all your files into one when you used the copy command the first time.
Do you still have the original files you were backing up? If so, the easiest solution is to make your directory, run copy *.* c:\test\ and then delete the test.file as you won't need it anymore.
If you don't have the originals, and only have the test.file, you're in trouble. There is no automated way to split that file into the original files as DOS saved neither the filenames nor any information on where one file ended and the next began. If they're all plain text, you can type edit test.file to view it. Once in there, delete everything that isn't part of the first file, then click File and Save As and specify the first file name. Then you'll have to repeat the process for each other file that was copied into test.file. Just make sure you don't save any of them over test.file, or you'll lose the data that's in it.
If they weren't plain text, there's not really any way to break them up properly.
-John
If you are only trying to move your data file, then create the new directory using the cd command e.g. cd test. Then move the file to the new directory either using the move command or the copy command eg. copy test.file c:\test\test.file
Alternatively you should try using the old text editor program in dos to load your file and then save to the directory of your choice.
good luck
shane67
Nizam
correction to prior comment. the command to create your directory is md, not cd. cd is the command you will use to change to that directory after you create it, eg. 'md test', then type "cd test" to enter that directory and create or move files to it. sorry, haven't used dos since the 80's but still have some memories of how to work in it. hope that helps.
×
161 views
Usually answered in minutes!
thanks for your help, really appreciate it!!
×