#1 05 Sep 2020 00:51

Tei_tsubaki
Member
Registered: 28 Jul 2020
Posts: 7

Bat to exe converter

There is a well-known converter called "bat to exe"
But it will create a bat at temp folder,then execute it.
As you know, Cmd must call the exe at C:\windows\System32. roll
That's mean you have to in a windows environment.
If someone deleted the exe file, the cmd command will not exist.
I want to do is package the cmd command exe with the bat exe.
This way, you can run without command exe.
I have been asked for few forum, but they said add cmd.exe to a file would be a violation of the MS license. hmm
I think some people would answer me "Bat to exe converter can do that", but they are the addition files, they will unpack after you opened the exe.
But I wanna know the answer to it.
Is it possible or already exist? neutral
Feel comfortable to answer me cool

Last edited by Tei_tsubaki (05 Sep 2020 00:59)

Offline

#2 06 Sep 2020 22:00

Shadow Thief
Member
Registered: 12 Jul 2012
Posts: 191

Re: Bat to exe converter

You're worried about something that will never happen. Nobody is going to be stupid enough to try to delete cmd.exe.

Offline

#3 08 Sep 2020 15:08

Tei_tsubaki
Member
Registered: 28 Jul 2020
Posts: 7

Re: Bat to exe converter

If my code is trying to delete cmd.exe?

Offline

#4 08 Sep 2020 16:38

bluesxman
Member
From: UK
Registered: 29 Dec 2006
Posts: 1,114

Re: Bat to exe converter

I'm not 100% sure what your situation and intent is here.  So let's start at the beginning -- why do you want to create an EXE of a batch script in the first place?


cmd | *sh | ruby | chef

Offline

Board footer

Powered by FluxBB