How to convert this curl command in c#?

Is there a batch command to convert .bat to .exe?

  • I would prefer to save space and feel independent (and clever) buy converting my batch files to executables using a command in cmd.exe. I know there are programs out there that do this and I'm being a pain in the backside with this, but I want to compile my own batch files without the help of third party programs. Any help appreciated.

  • Answer:

    No, you need a third party program to do that. They don't really convert then to an exe file. They just wrap them up with an exe header and a small routine to extract the batch file. When run, the batch file is extracted to a temp folder and run like any other catch file. When it exits, the batch file is deleted from the temp folder.

Cody at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.