Home > Archive > General Discussion > August 2004 > Copy by "Command Prompt"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Copy by "Command Prompt"
asadi

2004-08-05, 1:06 am

I want to copy a file to the "Documents and Settings" folder by Command Prompt.

But it doesn't accpect the following line as command:

[copy c:\file.txt d:\Documents and Settings\Admin\Desktop]

I receive the following error message:
[The syntax of the command is incorrect.]

Thanks
enforcer

2004-08-05, 4:14 am

dos/command prompt doesn't like spaces in it's paths. Stick quotes around the destination path.


copy c:\file.txt "d:\Documents and Settings\Admin\Desktop"
Teck Shark

2004-08-05, 11:08 am

Or you can modify the path so the command prompt can understand it.

copy c:\file.txt d:\Docume~1\Admin\Desktop

ruscorp

2004-08-05, 12:48 pm

quote:
Originally posted by asadi
I want to copy a file to the "Documents and Settings" folder by Command Prompt.

But it doesn't accpect the following line as command:

[copy c:\file.txt d:\Documents and Settings\Admin\Desktop]

I receive the following error message:
[The syntax of the command is incorrect.]

Thanks



I've had the same problem trying to copy someone’s Documents and Settings folder while doing a parallel installation.

Tell us the outcome of your problem.
asadi

2004-08-07, 8:41 am

Thanks for your help, every thing is ok now.....
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net