xcopy command not working

P

plh

In my workplace we have Win2000.

When I run the following batch file...

xcopy E:\PARSET C:\PARLEC /e
pause

....I get the following message:

'xcopy' is not recognized as an internal or external command, operable program
or batch file.

What gives?

Thank you all in advance.
-plh
 
L

Lanwench [MVP - Exchange]

Where is the xcopy file located, and is it in a folder in your system path?
By default in Win2k it's in %systemroot%\system32 ...if you type in

path <enter>

what do you see? Is \system32 in there?
 
P

plh

Thank you for responding.
In fact it (\system32) is was not in there (the path).
So I tried:
C:\WINNT\SYSTEM32\xcopy E:\PARSET\*.* C:\PARLEC a/e/k
Which corrected the first problem, but now I get the message: "Invalid number of
parameters." Yet this sytax agrees with examples found on a GOOGLE search of
"xcopy". What am I doing wrong?
Thank You,
-plh


Lanwench [MVP - Exchange]" said:
Where is the xcopy file located, and is it in a folder in your system path?
By default in Win2k it's in %systemroot%\system32 ...if you type in

path <enter>

what do you see? Is \system32 in there?

In my workplace we have Win2000.

When I run the following batch file...

xcopy E:\PARSET C:\PARLEC /e
pause

...I get the following message:

'xcopy' is not recognized as an internal or external command,
operable program or batch file.

What gives?

Thank you all in advance.
-plh


--
 
L

Lanwench [MVP - Exchange]

Add \system32 to the path.

Type path /? in a command line to see the parameters - remember you'll need
%path% if you don't want to clear out your existing settings.
Thank you for responding.
In fact it (\system32) is was not in there (the path).
So I tried:
C:\WINNT\SYSTEM32\xcopy E:\PARSET\*.* C:\PARLEC a/e/k
Which corrected the first problem, but now I get the message:
"Invalid number of parameters." Yet this sytax agrees with examples
found on a GOOGLE search of "xcopy". What am I doing wrong?
Thank You,
-plh


Exchange]"
Where is the xcopy file located, and is it in a folder in your
system path? By default in Win2k it's in %systemroot%\system32 ...if
you type in

path <enter>

what do you see? Is \system32 in there?


--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top