IExpress is InstallShield Express, it's for creating installation programs. It's not something that converts batch files into executables.
It creates an self extracting executable that works fairly well.
I would not look at trying to run this as a service. There is no reason to do that.
The issue you may run into is when the driver loads vs. when the batch file runs during startup
You MAY need the batch to wait and run at a specific time after startup,, Delayed a bit.
Best thing to do is,,
Create a start up task in task scheduler
I would do this,, Set the Triggers at startup and Delay 30 sec.
How to Add an Application to Startup Using the RegistryCode:[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
Put the bat file in the Startup folder:
It should do it, but If these two possibilities work only with exe files, simply make a self-extractable exe (with, already mentioned iexpress.exe) that runs the bat after extraction.Code:%appdata%\Microsoft\Windows\Start Menu\Programs\Startup
WinRAR and 7-Zip archiving tools can also make self-extractable files.
Don't know if this will help. Command.com is the DOS command, which runs the .bat file rather than cmd.exe which is the NT cmd executable. Try saving the batch file with a .cmd extension, rather than .bat.
I guess you can add the path to your user temp folder in your environment variables.
Last edited by fafhrd; 16 Sep 2013 at 07:05.
I nailed it. I found a software called "Exescript" it can make any bat into .exe file with a lot options to choose from. Now I can run my .exe file on windows load in background so no warning or popup window. It does work flawless.
I just add the .exe I to startup folder and let the magic runs.
Thanks for all replay.