Re: Batch Files
- From: "Rick Rogers" <rick@xxxxxxxx>
- Date: Sun, 22 Jun 2008 22:23:58 -0400
Hi,
Run xcopy /? from a command prompt, you'll get:
NOTE: Xcopy is now deprecated, please use Robocopy.
Meaning it exists, but may not function correctly. If he created the temp3 folder, he should have full control on it and be able to write/alter files there. However, if the folder was copied from a different installation, he may need to alter permissions.
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com
"Synapse Syndrome" <synapse@xxxxxxxxxxxxxxxxxxxx> wrote in message news:uzZhxXN1IHA.5728@xxxxxxxxxxxxxxxxxxxxxxx
"Rick Rogers" <rick@xxxxxxxx> wrote in message news:e7PmeOM1IHA.4492@xxxxxxxxxxxxxxxxxxxxxxxHi Mike,
The command xcopy was replaced with robocopy, alter your batch accordingly and see if this helps.
ROBOCOPY has been added as standard in Vista, rather than you having to add it from the Resource Kit, but XCOPY is still in Vista, IIRC.
I think the reason for his script is not working is due to UAC not allowing writes to the C: root? I can't test right now, but maybe the new folder cannot be created by the command unless in an elevated prompt?
I agree he should convert to using ROBOCOPY instead though, as it has much better features.
ss.
.
- Follow-Ups:
- Re: Batch Files
- From: Synapse Syndrome
- Re: Batch Files
- References:
- Batch Files
- From: Mike Harrison
- Re: Batch Files
- From: Rick Rogers
- Re: Batch Files
- From: Synapse Syndrome
- Batch Files
- Prev by Date: Re: One Year of Using Vista -- It Does Nothing Better than XP For Me
- Next by Date: Re: SP1
- Previous by thread: Re: Batch Files
- Next by thread: Re: Batch Files
- Index(es):
Relevant Pages
|