Code Monkey home page Code Monkey logo

bat2exe's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bat2exe's Issues

Error when running the .exe file created by bat2exe

when I try to run any .exe file created by bat2exe, it gives me this error:
'C:\Users(my username)\AppData\Local\Temp\7zSC0DA0427\error.bat' is not recognized as an internal or external command,
operable program or batch file.

  • error.bat is the name of the file I'm trying to convert. I wanted to make a custom error popup into an exe so I called it error.bat.

Arguments

Not really an issue but maybe more a feature request if the answer to the following question is "NO"!
Is it possible to pass arguments?

Did Not Accurately Convert .bat to .exe

My batch file did not work as an application when I used this. The console showed that bat2exe changed what would make a new line in a batch file to a space and combined two lines of the script.

Arguments passed to the EXE are doubled in the BAT

Arguemnts that are passed to the generated EXE file appear to be passed twice to the BAT script.
My BAT looks like this "C:\Program Files\7-Zip\7zG.exe" x "%1" -o"C:\Users\myUser\Desktop\Entpackt\*"
But when I run myexe.exe myDir\test.zip what is actually executed (I can see this in the error message) is this "C:\Program Files\7-Zip\7zG.exe" x "..\myDir\test.zip..\myDir\test.zip" -o"C:\Users\myUser\Desktop\Entpackt\*"

Note, that for "%1" in my script ..\myDir\test.zip..\myDir\test.zip gets inserted instead of ..\myDir\test.zip

current directory

there is problem to use "current directory" of the exe file

bat > %CURR_DIR% not working
vbs > CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) returns:
C:\Users\Trader\AppData\Local\Temp\7ZipSfx.000

is there a way to retieve this source path of exe and use it in included scripts?

Can't use to make a .bat->.exe to run a .exe within same terminal/prompt window

I'll use C:\Program Files\7-Zip\7z.exe as an example.

I'm trying to convert a batch file that runs an exe file into an exe file so I can add a single folder to %path% and load it with these files which call their corresponding files in their locations, to prevent having to add each of those locations to %path% due to the size limitations. I can't just use a batch file, since 7z.bat which runs 7z.exe above won't come up in path when I try to do 7z.exe ... (in theory 7z ... would work, but I'd rather not do it that way and use the same/.exe extension to avoid possible issues if something tries running 7z.exe, which would be the norm, vs just 7z).

The problem is, I can run 7z.exe from the prompt and it will run in the same prompt, I can run 7z.bat and have it run 7z.exe and it runs in the same prompt, but if I create 7z.bat->7z.exe and run it, it runs in a new prompt/window, which is undesirable behavior. It should be possible to have it run in the same prompt, but it would take a change to bat2exe, perhaps through an additional switch that would modify the behavior. I'm just guessing, but it seems bat2exe is creating a basic exe without a CLI, so that launches and then launches the batch script, which then happens in a new window, whereas it needs to create an exe than runs as a CLI. Basically, the difference between 7zFM.exe and 7z.exe.

Virus warning when downloading

When I downloaded this, my browser said that there's a virus in that file, so I checked this on virustotal and it said that a lot of engines actually detected a virus. Is there actually malware or is it just detected wrong? I downloaded this both from github and your website and I got the same virus browser warning on both of them. (This is about the converter itself, not the converted file.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.