Osiris Posted January 1, 2004 Share Posted January 1, 2004 hey I dont know if this is the right forum, but I couldnt find a DOS forum. In any event, due to very frustrating circumstances. I need to copy an entire folder from one HDD to another, and I have to do it in DOS mode. But all I can remember from DOS is COPY [Folder] E: etc but all it does is copy the files in the folder, not the subfolders etc so I just want to copy the whole folder and its entire contents What would be the DOS command, for that?? Thankyou. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/ Share on other sites More sharing options...
HellBender Posted January 1, 2004 Share Posted January 1, 2004 xcopy H:\original C:\new Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537530 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 that just keeps comming up bad command or file name. But the file names are all spelt and correctly written out so? Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537542 Share on other sites More sharing options...
HellBender Posted January 1, 2004 Share Posted January 1, 2004 Hmm.. it should work... Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537550 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 I fear the problem is the bootdisk I am using does not have xcopy.exe on it. I suspect thatis why the command is not working. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537560 Share on other sites More sharing options...
HellBender Posted January 1, 2004 Share Posted January 1, 2004 ah, so you're going off a boot disk, no wonder. Copy C:\WINDOWS\system32\xcopy.exe onto the bootdisk from another computer running windows. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537562 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 I dont believe this. happy f'nn! new year, is anything going to go right today I did that of course, and now it tells me XCOPY.EXE cannot be run in DOS mode. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537573 Share on other sites More sharing options...
cpugeniusmv Posted January 1, 2004 Share Posted January 1, 2004 Osiris said: I fear the problem is the bootdisk I am using does not have xcopy.exe on it.I suspect thatis why the command is not working. exactly. the xcopy i attached came from a DOS bootdisk on www.bootdisk.com it should run in DOS XCOPY.EXEFetching info... Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537574 Share on other sites More sharing options...
itsnotabigtruck Posted January 1, 2004 Share Posted January 1, 2004 Why don't you save the time? C:\original\> D: D:\> md new D:\> C: C:\original\> copy *.* D:\new C:\original\> D: D:\> cd new D:\new\> dir Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537575 Share on other sites More sharing options...
HellBender Posted January 1, 2004 Share Posted January 1, 2004 memodude said: Why don't you save the time?C:\original\> D: D:\> md new D:\> C: C:\original\> copy *.* D:\new C:\original\> D: D:\> cd new D:\new\> dir Because he has folders under C:\original that he needs to be moved over and what you suggested won't move them. For example, your way won't move C:\original\folder\file.txt over. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537590 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 yeah hellbender is right, it merely copied the files in the folder, not the ones in the subdirectories.. trying the xcopy.exe you posted now fingers crossed. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537594 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 umm okay the frustration continues.... in our next installment, Osiris gets ready to smash his PC, when the error message incorrect DOS Version, appears as he attempts to do it the XCOPY way..... Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537601 Share on other sites More sharing options...
itsnotabigtruck Posted January 1, 2004 Share Posted January 1, 2004 Tell me what ver outputs and I'll post an xcopy to fit. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537604 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 the bootdisk im using says the version is... Windows 98 [Version 4.10.2222] Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537612 Share on other sites More sharing options...
itsnotabigtruck Posted January 1, 2004 Share Posted January 1, 2004 (edited) Try this: XCOPY.EXEFetching info... Edited January 1, 2004 by memodude Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537632 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 hehe and now we get the error bad or missing XCOPY32.MOD sorry I appreciate the help, but in situations like this where its absolute frustration you cant help but laugh. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537664 Share on other sites More sharing options...
Osiris Posted January 1, 2004 Author Share Posted January 1, 2004 though I speculate you have given up hope of helping me. I have succeeded. Thorugh a program called XXCOPY. It has done the trick, but thankyou for the time and patience you invested here today. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537699 Share on other sites More sharing options...
HellBender Posted January 1, 2004 Share Posted January 1, 2004 Osiris said: though I speculate you have given up hope of helping me.I have succeeded. Thorugh a program called XXCOPY. It has done the trick, but thankyou for the time and patience you invested here today. haha :) Google is your friend. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537902 Share on other sites More sharing options...
CyberKewl Posted January 1, 2004 Share Posted January 1, 2004 Try turbocopy instead: http://www.filelibrary.com:8080/cgi-bin/fr...56/tcpy203c.zip It's my favourite dos copy program. I used it a lot back in the old ms-dos days. Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537928 Share on other sites More sharing options...
JHAres Posted January 1, 2004 Share Posted January 1, 2004 (edited) Use: XCOPY c:\source c:\target /e /e copies all the subdirs, including the empty ones use "xcopy /?" to see all your options... ;) Edit: I case you have hidden or system files, you must add "/h" to the command, i.e.: XCOPY c:\source c:\target /e /h Edited January 1, 2004 by JHAres Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1537978 Share on other sites More sharing options...
MxxCon Posted January 1, 2004 Share Posted January 1, 2004 Osiris, in the future when you need to work with files from dos, the only soft you ever need is Volkov Commander http://www.egner-online.de/vc/en/vc4.shtml or newer version 5 at http://www.egner-online.de/vc/en/vc5.shtml it's small enough to fit on any boot disk and can do anything you want with files: copy/move/delete/edit/view/pack/unpack/etc no bootdisk/resuedisk should be w/o it Link to comment https://www.neowin.net/forum/topic/127946-dos-copy-commands/#findComment-1538084 Share on other sites More sharing options...
Recommended Posts