Computing.Net > Forums > Windows XP > XCOPY batch file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

XCOPY batch file

Reply to Message Icon

Name: oatmilk
Date: March 25, 2004 at 14:13:30 Pacific
OS: XP
CPU/Ram: 3.2GHz/2GB
Comment:

I have a batch file containing an XCOPY command. The command works fine when run directly from the command line, but the batch file will not work? The cmd window fills with the contents of the batch file - repetitively, and I have to close out.

Any ideas?



Sponsored Link
Ads by Google

Response Number 1
Name: Sandman
Date: March 25, 2004 at 15:05:00 Pacific
Reply:

If you use the command below it will open a new cmd window to run the xcopy command.

start cmd /c xcopy /yourswitches

If that doesn't help post the batch file so we can have a look at it.

Sandman

An Official Microsoft Minion. ÿ


0

Response Number 2
Name: Johnw
Date: March 25, 2004 at 15:06:38 Pacific
Reply:

xxcopy is better .

xxcopy ( freeware ) from ,
http://www.xxcopy.com/
http://www.xxcopy.com/download/xxcopy.zip

Forum
http://groups.yahoo.com/group/xxcopy/
http://groups.yahoo.com/group/xxcopy/messages/?viscount=100

Info
http://groups.google.com/groups?q=xxcopy&num=100&hl=en&lr=lang_en&safe=off&scoring=date&as_drrb=quick&as_qdr=&filter=0

Start > Programs > MS-DOS Prompt or Command Prompt in XP .
Copy a command from the selection below & click paste in MS-DOS , then click Enter .
No need to close any programs down .

1st command , you get a copy of everything .
2nd command excludes Windows .
3rd command copies Windows only .
4th command excludes Windows Temporary Internet Files .

Adjust drive letters to suit .

1 . XXCOPY C:\ D:\ /CLONE

2 . XXCOPY C:\ D:\ /CLONE /Xwindows\

3 . XXCOPY C:\Windows D:\Windows

4 . XXCOPY C:\ D:\ /Clone /x\windows\temp*\


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: XCOPY batch file

XCOPY Batch File Error www.computing.net/answers/windows-xp/xcopy-batch-file-error/138508.html

simple batch file www.computing.net/answers/windows-xp/simple-batch-file/149160.html

batch file using date command to cr www.computing.net/answers/windows-xp/batch-file-using-date-command-to-cr/151468.html