AleDetto
AleDetto

Reputation: 11

Converting batch file to exe for Windows Embedded Compact (XP)

I’m having some trouble trying to create a very simple .exe file that starts a .url file in the same directory, when I try to run it, a pop-up message shows an error telling that:

“<filename.exe> is not a valid Windows Embedded Compact application”.

Starting from the beginning…

I first created (on my windows11 PC) a “test.bat” file with this code “start webpage.url”, inside the same directory I have already the “webpage.url”.

Then I converted the “test.bat” file into a “test.exe” file with “BatToExe Converter” with the 32bit option enabled, so now I have this folder:

The .exe file on my win11 PC runs correctly, opening the “webpage.url” file into a web browser, but when I copy the entire folder to a Windows Embedded PC and then I try to run it, appears the pop-up error message told upon.

My question is… is there any tool capable of converting a batch file to an exe that runs on Windows Embedded Compact (XP)?

Upvotes: 1

Views: 666

Answers (2)

LemonDogeYT
LemonDogeYT

Reputation: 1

Try to convert the batch to an executable then convert the windows executable to a windows embedded executable. I know there are apps for batch 2 exe and there is probably an app for exe to embedded executable.

Upvotes: 0

arise21
arise21

Reputation: 77

Please try this one: https://github.com/dehoisted/Bat2Exe

Or maybe it helps if you run your BatToExe Converter directly on your target machine to produce your .exe file there.

Upvotes: 1

Related Questions