Computing.Net > Forums > Disk Operating System > xcopy problem parameters?

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 problem parameters?

Reply to Message Icon

Name: buck1
Date: November 15, 2003 at 04:36:09 Pacific
OS: windows xp proffesional s
CPU/Ram: 256mb
Comment:

hello,
ive made a small batch to copy all *.doc to a directry can you tell me if what i have to add
@echo off
echo are you sure you want to copy these files
set command=
set /p command=y/n
if /i '%choice%'=='y' goto yes
if /i '%choice%'=='n' exit
:yes
xcopy d c:\*.doc C:\Documents and Settings\Danny\filedump
echo files have been copied
pause

if you can make that work with nt 5.1 (xp) then i will be very gratful
danny buck



Sponsored Link
Ads by Google

Response Number 1
Name: JackG
Date: November 15, 2003 at 05:00:36 Pacific
Reply:

I assume that those are just posting typo's in your XCOPY command. (ie. the missing "/" in front of the "d" and the missing "" around the long file name.

So what is it not doing that you expect it to do.


0
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 Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: xcopy problem parameters?

Problems running batch file with xcopy command www.computing.net/answers/dos/problems-running-batch-file-with-xcopy-command/5754.html

DOS copy problem www.computing.net/answers/dos/dos-copy-problem/12420.html

xcopy with long filename www.computing.net/answers/dos/xcopy-with-long-filename/14069.html