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:
:INSTALL
ECHO.
ECHO Installing...
XCOPY \setup_files\test\ ("c:\program files\") /E /C /I /Q /H /R /T /K /O /Y
ECHO.
ECHO Finished with setup.
ECHO.
GOTO EXIT
The xcopy line returns an "invalid path" error from the command window, and i was wondering what went wrong with my program.
Polymath

New Topic/Question
Reply




MultiQuote



|