Member Panel


Sponsors and Ads

Live Tag Cloud

PC Forum PC Help Forum » Software » Office Software » [Answered] Copying a file

Office Software - [Answered] Copying a file posted in the Software forums; Using Windows XP I need to have desktop shortcut that copies a specific file to a memory stick. XCOPY should do that I hear you say but the file is ...

JOIN US NOW to remove these Ads

PC Help Forum, the number one FREE computer support website in the search engines
Post New Thread  Reply
  #1  
Old 02-03-2007
elpmek's Avatar
Silver Member
 
Join Date: Feb 2006
Location: Gloucestershire
Posts: 168
PC Experience: Experienced
elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page
Question [Answered] Copying a file

Using Windows XP I need to have desktop shortcut that copies a specific file to a memory stick.

XCOPY should do that I hear you say but the file is in a sub-directory smiliar to this:

C:\documents\pickwise red\A & BB Johnstone Jan 07 - Apr 07\Target.mdb

I can't get Xcopy to recognise the lowest directory (I think 'cos of the "&")

Also I can't in a batch file CD my way down to it as in
cd documents
cd pickwise red
cd A & BB Johnstone Jan 07 - Apr 07

as the last one isn't recognised, although in a DOS window it is.


Also to complicate matters even more, in the directory "pickwise red" there are other sub directories containg files with the same name as the target, and finally we're not allowed to change directory names or file names

Any ideas

thanks


  #2  
Old 02-03-2007
madmonkey's Avatar
Site Manager
My PC
 
Join Date: Oct 2006
Location: South Wales
Posts: 5,439
PC Experience: PC Basket Ball Head!
madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page
Default

Hi elp,

Yes your right the & sign does have a special meaning, but spaces between the words are also generally considered seperate folders. There is a simple solution to this, and that is to wrap your folders in quotes. For example:

cd "A & BB Johnstone Jan 07 - Apr 07"

Same applies to xcopy.


__________________

Free Links: Hit Counter.. - ..Form Mail.. - ..Games.. - ..Smiley's.. - ..Psychometrics Online.. - ..myFavorites Homepage
Submit your URL or Blog to: cyberJuice USA / UK online shopping links and blogs.
  #3  
Old 02-03-2007
elpmek's Avatar
Silver Member
 
Join Date: Feb 2006
Location: Gloucestershire
Posts: 168
PC Experience: Experienced
elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page elpmek - See this Members User comments on their Profile page
Default

Well Done! It actually works!

thanks


  #4  
Old 02-03-2007
madmonkey's Avatar
Site Manager
My PC
 
Join Date: Oct 2006
Location: South Wales
Posts: 5,439
PC Experience: PC Basket Ball Head!
madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page madmonkey - See this Members User comments on their Profile page
Default

Marked as answered elp.


__________________

Free Links: Hit Counter.. - ..Form Mail.. - ..Games.. - ..Smiley's.. - ..Psychometrics Online.. - ..myFavorites Homepage
Submit your URL or Blog to: cyberJuice USA / UK online shopping links and blogs.

Reply
New! Norton Internet Security 2008 – Download Now Click Here

Bookmarks

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 Off
Pingbacks are Off
Refbacks are On


All times are GMT +1. The time now is 11:03 AM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
All Graphics & Content Copyright © 2004-2008 - PC Help Forum.com


Back to Top