»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-21-2003, 02:34 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2001
Posts: 274
Ebisoba is on a distinguished road
Need help with "COPY" command

I'm doing this in Win2k and XP. I want to create a batch file with the copy command so users can back things up with just one click. The files reside in a folder with a space between words like "example one" It seems the "copy" command have problem copying things from folders with spaces in their names. For example if I change the folder to "exampleone" then the "copy" command will work. The problem is that I can't rename the "documents and settings" folder because it's locked by the OS and that's where the stuff are. I tried replacing space with underscore and it's no good. Also tried with the DOS 8 character limit thing like "exampl~1" didn't work either. Maybe there's command that'll work with space that I'm not aware of, please help.

Ebisoba is offline   Reply With Quote
Old 07-21-2003, 04:10 PM   #2 (permalink)
Registered User
 
omalleytrading's Avatar
 
Join Date: Apr 2003
Location: Albany, NY
Posts: 425
omalleytrading is on a distinguished road
Put quotes around the path names.
omalleytrading is offline   Reply With Quote
Old 07-21-2003, 06:33 PM   #3 (permalink)
Registered User
 
Join Date: Dec 2001
Posts: 274
Ebisoba is on a distinguished road
Thanks alot, it worked.
Ebisoba is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 05:03 AM.