DIGIT-ARC read-only archive · snapshot: July 23, 2026

Dos Command Needed.......

7 posts · originally from https://geek.digit.in/community/threads/dos-command-needed.37749/

satyamy
satyamy Original post #1
Oct 1, 2006 at 11:06 PM
I want to Copy One file/folder from Source D:\Old Data 2003\etools
& Want to paste it to Source E:\New Data

Wht will be the dos command for this
If i type cmd in Run one window open with source
C:\Documents and settings\Satyam

I want to write command from here only and not from moving to Source D:\Old Data 2003\etools

It is easy to go to Source E:\New Data & just type copy command but wht will if i want to write command from C:\Documents and settings\Satyam

If anyone knows pls help
Sourabh
Sourabh #2
Oct 1, 2006 at 11:16 PM
copy D:\Old Data 2003\etools E:\New Data

should do it
satyamy
satyamy #3
Oct 2, 2006 at 4:38 PM
Sourabh said:
copy D:\Old Data 2003\etools E:\New Data

should do it
thanks a lot Friend
__________
i m unable to copy the folder with name like "1 tools"
or "copy of 2004"
i think dos is unable to take space in folder name
i m using winXP
what to do to copy such folder from dos
DukeNukem
Oct 3, 2006 at 2:14 PM
put the file name in "" i.e for new winamp file as "new winamp file"

copy "new winamp file.ext" <location>
Vishal Gupta
Oct 3, 2006 at 2:26 PM
Or just press Tab key after typing first letter of the file, windows will automatically display filenames matching with the letter :)
aadipa
aadipa #6
Oct 4, 2006 at 12:06 PM
There is some diff between how copy and xcopy works.
copy will not copy zero length files. So if you want to make exact copy of a dir, use xcopy

Code:
C:\Documents and settings\Satyam>xcopy "D:\Old Data 2003\etools\<file/folder>" "E:\New Data\" /s /i /e /k /h
satyamy
satyamy #7
Oct 4, 2006 at 12:37 PM
Thanks a Lot Friends
This Solved My Prob.