|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
|
copy c:\offline.jpg c:\program files\cam_1.jpg
Why does dos say that the syntax of this command is incorrect?? it either says that or that it can not find the file specified. Even if I place the file in the root I get one of these messages. I'm getting a headache trying to figure it out.
|
|
|
|
|
|
#2 |
|
Professional gadfly
|
Try quotes around "C:\Program Files\cam_1.jpp". The space in the path may be causing the problem.
|
|
|
|
|
|
#3 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,786
|
Depending on what exact version of DOS, you may have to use c:\progra~1 instead of c:\program files. It's the 8.3 restriction that may be getting you. If your version is LFN capable, you only need to use the quotes as Doc G indicated.
|
|
|
|
|
|
#4 |
|
Member (9 bit)
|
I found the problem. I THOUGHT that the version of XP was more advanced then it truly is. I did in fact have to shorten the path using the ~1 so instead of c:\program files\cam_1.jpg
I had to shorten it to c:\progra~1\cam_1.jpg which then worked. Thanks for all your help Gene
|
|
|
|
|
|
#5 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,786
|
If you run "command" it's 8.3 restricted. If you run "cmd" it is not.
|
|
|
|
|
|
#6 |
|
Member (9 bit)
|
That's just it. I was using CMD not command. When I bring up a command box the prompt is
H:\DOCUME~1\GENE> When I bring up a CMD box the prompt is H:\Documents and Settings\Gene> But the command line kept saying syntax incorrect. Oh well it's fixed now. Thanks Again Gene |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|