XCOPY Batch File Command--Help!

liunx

Guest
Hi,<br />I was trying to create a batch file to copy certian files based on user imput. The user imput section works great, but my install section doesn't seem to work. I am using the xcopy command to copy files from a directory on a cd to my program files folder. Here is an excerpt from my code:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->:INSTALL<br />ECHO.<br />ECHO Installing...<br />XCOPY \setup_files\test\ ("c:\program files\") /E /C /I /Q /H /R /T /K /O /Y<br />ECHO.<br />ECHO Finished with setup.<br />ECHO.<br />GOTO EXIT<!--c2--></div><!--ec2--><br />The xcopy line returns an "invalid path" error from the command window, and i was wondering what went wrong with my program.<br /><br />Polymath<br />
</div>
 
Top