Hi,
 I was wondering if anybody can tell me what I am doing wrong. I am
trying to use xcopy:
system("XCOPY", "KCPSM3.EXE", $s_tempLocation, "/R /Y");

$s_tempLocation contains "c:\temp"

When I run the script, I get the following error message:
Invalid number of parameters

The following command in the command prompt works fine:
xcopy KCPSM3.EXE c:\temp /R /Y

Thanks for any insight.
Amish


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to