December 16, 200421 yr Hi, Is it normal that All my applications in my Install.cmd Batch file are installed except "$OEM$\$1\Install\MSN Messenger" and "$OEM$\$1\Install\Crap Cleaner". The data itself are copied to my hardrive but when the batch file run it give me an error: "Cannot find C:\Install\Crap" I suspect the space in the folder structure. What do u think about it ?CLS@echo offTITLE Installation des applicationsECHO.ECHO 1 sur 7ECHO Installation de Crap Cleanerstart /wait %systemdrive%\Install\Crap Cleaner\ccsetup116.exe /SECHO.ECHO 2 sur 7ECHO Installation de MSN Messengerstart /wait %systemdrive%\Install\MSN Messenger\MsnMsgs.msi /QBECHO.ECHO 3 sur 7ECHO Installation de Adobe Reader 6start /wait %systemdrive%\Install\Adobe\AdbeRdr60_enu.exe -p"-s /v\"/qn\""
December 16, 200421 yr Yesyou found the error yourself The best is not to use spaces in your directory names.Either no gap or an underline as in the example below.ECHO.ECHO 1 sur 7ECHO Installation de Crap Cleanerstart /wait %systemdrive%\Install\CrapCleaner\ccsetup116.exe /SECHO.ECHO 2 sur 7ECHO Installation de MSN Messengerstart /wait %systemdrive%\Install\MSN_Messenger\MsnMsgs.msi /QBor you can also use quotesECHO.ECHO 1 sur 7ECHO Installation de Crap Cleanerstart /wait "%systemdrive%\Install\Crap Cleaner\ccsetup116.exe" /Sbut this would get harder to sort if you have lots of quotes in your command lineas below. I dont know if just adding quotes to the beginning and end would work.ECHO.ECHO 3 sur 7ECHO Installation de Adobe Reader 6start /wait "%systemdrive%\Install\Adobe Reader\AdbeRdr60_enu.exe" -p"-s /v\"/qn\""
December 18, 200421 yr START "title" /WAIT "path with spaces\app.exe"See http://www.msfn.org/board/index.php?showtopic=19994
Create an account or sign in to comment