Bat2Exe

Questions about programming languages and debugging
Post Reply
bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Bat2Exe

Post by bubzuru »

i need people to help test my app & make suggestions etc .
it can only compile one bat file and there is no GUI but this
is only a test version :)

Download:
http://bubzuru.info/files/Bat2Exe_Test.rar

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Post by G-Brain »

How does this work again?

Code: Select all

system(line1)
system(line2)
Right?

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

obviously you didn't try the app :lol:

this is coded in Delphi so the system function wont work
also it doesn't just run a bat file it turns it into an exe

like if you use
bat2exe c:\test.bat c:\test.exe

then test.exe will function exactly the same as test.bat
but people wont be able to view or edit your file

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Post by G-Brain »

Yeah, I don't like Windows.

Tell us how it does work...

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

it works by using my EdtSvr unit to encrypt
and write the bat file to the end of a stub file "bubz.stub"
then when the exe is run it will read the bat file from itself
write to the disk , run then delete it

http://suck-o.com/modules.php?name=Foru ... pic&t=4758

once iv finished the gui and added
more options i will post the source

btw Delphi runs on windows or linux :)

G-Brain
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 467
Joined: 08 Nov 2007, 17:00
16
Location: NL

Post by G-Brain »

bubzuru wrote:it works by using my EdtSvr unit to encrypt
and write the bat file to the end of a stub file "bubz.stub"
then when the exe is run it will read the bat file from itself
write to the disk , run then delete it
That's pretty inefficient...

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

wot method do you suggest then :lol:

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

G-Brain wrote:
bubzuru wrote:it works by using my EdtSvr unit to encrypt
and write the bat file to the end of a stub file "bubz.stub"
then when the exe is run it will read the bat file from itself
write to the disk , run then delete it
That's pretty inefficient...
ok i have been reading about this and
the way i use is not inefficient its the way
that most binders work :? :?

Image

Post Reply