You are here

Portable .Bat to .Exe converter.

4 posts / 0 new
Last post
bigggmann
Offline
Last seen: 10 years 11 months ago
Joined: 2013-12-19 20:24
Portable .Bat to .Exe converter.

Hey guys I'd love to have a portable .Bat to .Exe to prevent .Bat files from being opened in notepad.

I'm trying to make a locked folder with .bat codes and I need to convert it to .exe so It cant be opened in notepad, making the password available to the viewer.

I've seen converters on other sites, but all the other files are on non reputable site.

Grantwhy
Offline
Last seen: 9 months 5 days ago
Joined: 2010-07-28 22:05
It's not in PA format, but I can recommend one I've used before

It's not in PA format, but I've use one in the past that seems to be portable enough.

I'm certain this is the devoloper's site

http://www.f2ko.de/programs.php?lang=en&pid=b2e

(Softpedia link http://www.softpedia.com/get/System/File-Management/Batch-To-Exe-Convert...)

I used it to make EXE files for the PA menu to see Smile

Unfortunately, for a while I got false-positives on some computers AV's, but after submitting the files (over a month or two :p) those false-positives went away.

... um ? ...

to prevent .Bat files from being opened in notepad

I'm still on XP so things might be different, but unless someone changed the default program for .BAT files to run from cmd.exe to Notepad then they should run.

now, if that is what has happened (and not someone in authority locking down computers), from what I can see (google) there is a fix that seems to work

IMPORTANT: backup your registry before making changes

You must take ownership of this restricted registry key. Open regedit and navigate to the key you see here.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoice

Delete the key named "user choice" and the association with note pad will end restoring it to it's original state.

That may be a Windows 7 fix though?

If you google your Windows version plus the words 'batch files opening in notepad' you should be able to find a specific fix.

Good luck Smile

darksabre76
darksabre76's picture
Offline
Last seen: 1 month 1 week ago
Developer
Joined: 2011-04-19 23:28
Packaged already

I just saw this and I remembered that a long while ago I created a portable version of that exact thing as can be found here. I need to get back to that to make it better portable, but it should work still.

JKEngineer
Offline
Last seen: 2 years 4 months ago
Joined: 2008-03-02 14:21
break the association

This comment is not specific to PA. If you can break the association between ".bat" and notepad, as in remove the "normally opens with" link, then I think the bat file will just execute. For portable issues, you may not have those rights.

However, I think you could also just right click on the bat file and click "OPEN". This works on my PC (totally independent of portable apps though).

Log in or register to post comments