Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: XCOPY command - HELP!

date posted 26th May 2006 20:17

Yes, sorry, you need quotes round paths with spaces in them. Although you
can cd without quotes, you can't xcopy.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kathy
http://www.vendetta.co.uk
+44(0)7005 982 261
DNRC Minister for Useful but Irritating Information and Trivia
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----- Original Message -----
From: "Dai Williams" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, May 26, 2006 9:02 PM
Subject: RE: FN-FORUM: XCOPY command - HELP!


>
> Thomas wrote:
> > Can anyone shed any light on what this xcopy command doesn't work by
> > any chance? I've never used this before so really ain't got a clue
> > what I'm doing wrong here.
> >
> > xcopy G:\My Documents\*.* C:\Documents and Settings\Admin\My
> > Documents\ /E /D /R /Y
> >
> > I've saved this in a txt file as both .cmd and .bat extensions,
> > double-clicked it which opens the command window very briefly but no
> > files
> > have been updated, I've tried everything I can think of, what am I
> > doing
> > wrong!?
>
> DOS eh? Long time since I dabbled with my all time favourite OS ;)
>
> Well I would open a command prompt first then run the batch file, that way
> you will see any error messages, however off the top of my head I would
say
> the problem is the spaces in the directory name, you will either have to
> quote the parameters using
>
> xcopy "G:\My Documents\*.*" "C:\Documents and Settings\Admin\My
Documents\"
> /E /D /R /Y
>
> Or possibly even use the 8.3 name formats which would be something like
>
> xcopy G:\DOCUME~1\*.* C:\DOCUME~1\Admin\MYDOCU~1\ /E /D /R /Y
>
> You can get vthe 8.3 names using dir /x
>
> HTH,
>
> Dai
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
May 31st 2006
May 30th 2006
May 29th 2006
May 28th 2006
May 27th 2006
May 26th 2006
May 25th 2006
May 24th 2006
May 23rd 2006
May 22nd 2006
May 21st 2006
May 20th 2006
May 19th 2006
May 18th 2006
May 17th 2006
May 16th 2006
May 15th 2006
May 14th 2006
May 13th 2006
May 12th 2006
May 11th 2006
May 10th 2006
May 9th 2006
May 8th 2006
May 7th 2006
May 6th 2006
May 5th 2006
May 4th 2006
May 3rd 2006
May 2nd 2006
May 1st 2006


Messages by Month
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000