Dos Command Needed.......

Status
Not open for further replies.

satyamy

Alive Again...
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
 
OP
satyamy

satyamy

Alive Again...
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
 
Last edited:

DukeNukem

Come get Some
put the file name in "" i.e for new winamp file as "new winamp file"

copy "new winamp file.ext" <location>
 

Vishal Gupta

Microsoft MVP
Or just press Tab key after typing first letter of the file, windows will automatically display filenames matching with the letter :)
 

aadipa

Padawan
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
 
Status
Not open for further replies.
Top Bottom