Teen Programmers Unite  
 

 

Return to forum top

Tell me

Posted by lekkie [send private reply] at August 13, 2002, 03:49:54 PM

I want how code in batch, to make an EXE file.Can u code it in C++?

Posted by RedX [send private reply] at August 13, 2002, 04:11:33 PM

Do you mean converting a MS-dos batch file into an executable?

Posted by CodeRed [send private reply] at August 13, 2002, 05:47:43 PM

Your first sentance makes no sense

Posted by mop [send private reply] at August 13, 2002, 06:04:40 PM

There isn't a point because both are equally executable. Basically a different file name, unless you care that people can edit the source for your ingenious use of the copy command.

I make no sense.

Posted by lekkie [send private reply] at August 14, 2002, 06:48:20 AM

mean code ur source prog,i don't want people to edit source code.

Posted by buzgub [send private reply] at August 14, 2002, 07:00:33 AM

I don't know of any way of converting a batch file to an executable. Most tasks performed by batch files can be done reasonably simple by, say, a C program. or a Perl program. Or pretty much any other programming langauge, for that matter.

Posted by RedX [send private reply] at August 14, 2002, 08:41:43 AM

I had a program that coverted .bat files in .com files, but that was at least 2 HDs ago.
I found a simulare one at http://nlsn.free.fr/batch-down/Bat2Exe.ZIP

Posted by mop [send private reply] at August 14, 2002, 09:53:34 AM

if you wanted a fast way to do it theres always qb*sic.
Hey! That comment is not without grounds! You could use it for simple file copying.

Posted by CodeRed [send private reply] at August 14, 2002, 10:28:32 AM

mop you sick fvck, stop mentioning qbasic LOL

Posted by mop [send private reply] at August 14, 2002, 11:10:57 AM

Well I hate to, but you _could_ use it for this!

Posted by diegoeskryptic [send private reply] at August 14, 2002, 11:41:27 AM

hey codeREd... why dont u like Q basic?

Posted by mop [send private reply] at August 14, 2002, 11:44:55 AM

Probably a really deep childhood scar

Posted by AnyoneEB [send private reply] at August 14, 2002, 08:07:22 PM

QBASIC has a shell command which you could use for this and then compile it, but I think that using a bat2exe program would be easier, although I would like to know what you would put in a .bat that you wouldn't want people to see.

Posted by mop [send private reply] at August 14, 2002, 08:28:50 PM

it has a play command too, and heck that would just make it worth the humiliation

Posted by CodeRed [send private reply] at August 14, 2002, 09:40:16 PM

"Probably a really deep childhood scar"

Oh I've got lots of those LOL

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.