You can also use
cmd /c copy /-Y "c:\text.txt" "c:\text2.txt"

the cmd.exe should be already in the default path setting; so you can
use cmd directly; the (/-Y) switch adds a prompt to the copy function.
If ignored the copy function will overwrite the existing file or
create a new one with the name text2.txt

-Subash

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to