deathbybatfile
asked on
Converting a bat file to an exe file in Windows XP embedded
I'm trying to make a bat file an executable file on a windows xp embedded machine.
I used bat2exe but it reports a missing CRTDLL.dll no doubt due to the fact that it is XP embedded.
Anyone know of any other compilers that might work or am I screwed?
I used bat2exe but it reports a missing CRTDLL.dll no doubt due to the fact that it is XP embedded.
Anyone know of any other compilers that might work or am I screwed?
can't you register the dll?
ASKER
I have thousands of computers to sort out remotely and I don't have the standard access that you might from the head end server. They basically play media content and I can include my bat file (to change some settings) and run it as an executable behind the media but it has to be an .exe file. The company we use have us over a barrel and are trying to charge an arm and a leg for this task.
can't you make the exe on your machine and deploy it afterwards?
ASKER
That's what I did but I get the same error when I try and run the executable - it obviously needs the file to decompile and run i guess.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You might try making a self-extracting archive with iexpress.exe which is included with Windows 2000 and up. Here's a walkthrough:
http://babek.info/libertybasicfiles/lbnews/nl134/iexpress.htm
You can also do this with compression using 7-Zip.
http://www.7-zip.org
For instructions, open the Help file, expand Command Line Version|Switches and select -sfx (Create SFX archive).
I haven't tested either of these methods with XP Embedded, but I don't know of any reason they wouldn't work.
http://babek.info/libertybasicfiles/lbnews/nl134/iexpress.htm
You can also do this with compression using 7-Zip.
http://www.7-zip.org
For instructions, open the Help file, expand Command Line Version|Switches and select -sfx (Create SFX archive).
I haven't tested either of these methods with XP Embedded, but I don't know of any reason they wouldn't work.
ASKER
Thanks for the input guys. I eventually a program called Quick Batch File Compiler which allowed me to make an executable that placed the needed dll - so I'm sorted thanks.
ASKER
Thanks.