First post, by MARCAGENCY
Hello-
I am trying to copy files from my f: drive to the directory I created.
I typed copy f:\ *.* but I get a message: illegal path.
Any help is appreciated.
Hello-
I am trying to copy files from my f: drive to the directory I created.
I typed copy f:\ *.* but I get a message: illegal path.
Any help is appreciated.
You have to mount real drives/folders and use the mounts not the real paths:
Example:
Mount c c:/dosgames
Mount d f:/
Copy d:/*.* c:/
This copies everything from the mounted d drive to your c drive. Which is the same as if you copied in explorer everything from your real drive f to the folder dosgames onyour real c drive
Edit: I'm not sure whether the copy command is used like this. I prefer to not do things manually and do such things outside of dosbox 😉
It has been a while, but I don't think real DOS copy allowed wild cards, otherwise there would be little need for XCOPY. Otherwise I agree with you about doing such things from the host OS. It is far easier and faster to so.
The COPY command in DOS (and in DOSBox's shell) does support wildcards. The XCOPY external program has eXtended capability, where you can copy subdirectories and specify files by date stamp and attribute criteria. No doubt the thread starter's problem is related to mounting.
My comment was to Dominus' edit rather than to the OP. It has been a long time since I have done anything in real DOS. I haven't thought much about such things in DOSBox since it is easier to do file management outside of DOSBox.