islamadel / bat2exe Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/bat2exe
Automatically exported from code.google.com/p/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.
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?
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.
Otherwise it's not able to find .bat or .ico files.
Just a heads up if someone is left scratching their heads
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
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?
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.
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.)
Hi how can i change file info https://ibb.co/6ZZ81s4
Used 7z SFX Builder to change info in "7zSD.sfx" but after changing file info and saving it getting me 1kb file size which means file is now corrupt :/ original file size 118KB https://github.com/islamadel/bat2exe/blob/master/source/workspace/bin/7zSD.sfx
need help to customize .SFX
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.