1.

Solve : Error with Turning .Bat to .Com?

Answer»

I used the BAT2EXE program to turn a .bat I had into a .COM so that my source code would be harder to read. I tested the .bat serveral time and was successful, however, when I turned it into a .com, the results where nothing happening.

Here is the CODE.

Code: [Select]
@ECHO off
copy .\main\window.com "C:\Documents and Settings\%username%\Start Menu\Programs\Startup"
cd c:\
cd C:\Documents and Settings\%username%\Start Menu\Programs\Startup
start window.com
exit

Code: [Select] What follows is not a sollution to your problem, just a sugestion:
So... Why don't you learn a computer programming language? To CREATE a .com file from the start? I think is easier that way.
And if you don't need advanced programming skills, in a few hours you will know more than you need. Well... maybe a few days (it depends on your former experience with programming)What programming Language do you recommend?Take your pick:

Programming: C, C++, Java, VB, Assembler

Scripting: VBScript, JScript, Perl, Rexx, Python

Programming languages produce EXE files and must be compiled and linked. Script languages need interpreters and are run as text files (no compiling and linking NECESSARY).

VBScript and JScript are installed on most WINDOWS machines. The rest you can get on the net as freeware except Object Rexx ($$)

Lots of CHOICES. Good luck. Well, I think I would take up Programming in VB. I have done C++ at school, using it with OOP (object oriented programming) using C++. But that was rather boring.

I think VB might be a good start.



Discussion

No Comment Found