simplet76 Posted November 2, 2006 Share Posted November 2, 2006 Hello,I want to launch more than 1 command for 1 addon.So I launch a batch file who contains the 2 commandsBut windows launch the batch file from this folder : "c:\windows\system32\inetsrv" and he tell me : "'QuickAlt.exe' is not recognized as an internal or external command, operable program or batch file".here are the files : ----------------ENTRIES_QuickAlt.ini:[general]builddate=description=language=title=QuickTime Alternative Liteversion=1.76website=[EditFile]I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram[AddProgram]QuickAlt.bat-----------------QuickAlt.bat:QuickAlt.exe /VERYSILENT /SP- /NORESTARTmove "%AllUsersProfile%\""Start Menu\Programs\QuickTime Alternative" "%AllUsersProfile%\""Start Menu\Programs\Divers\"-----------------Those files run perfectly when I launch the .bat file manually...Does someone noes what I've done wrong ? Link to comment Share on other sites More sharing options...
ZcWorld Posted November 2, 2006 Share Posted November 2, 2006 QuickAlt.bat:QuickAlt.exe /VERYSILENT /SP- /NORESTARTyou gotta tell it where to find the quickalt.exe file to its looking at the $oem$ folder on the cd-rom like if you got it to copy over to c:\temp than you gotta add to the .bat filec:\temp\<filename> /switchsbut you should use .cmd file just rename the bat to cmdbut in any case it works as .bat or .cmd happy use Link to comment Share on other sites More sharing options...
simplet76 Posted November 2, 2006 Author Share Posted November 2, 2006 Hi ZcWorld,I try to make a nLite AddOn, so I don't put anything to the oem folder...I just want to select my cab file in nLite, so the cab file must contain all the data to run the .exe and then make the icon deplacement.Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now