batch to change .bat to cmd or .exe
i tryed wtih this but it didnt work
@echo off
ren %1 *.cmd
im just a beginer atm, just learning from examples

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format.
You also have the ability to customize your PDF download.
With the concentration on scripting languages these days, I'm not sure how much these programs will get used anymore. As a learning tool, my guess is that this may be useful, but the ability to look inside an .exe file after it has been converted is zero to none.
You will need a converter like one of these. Just renaming a .BAT to .COM or .EXE won't work at all. Of course you could write a batch file to use one of these command line (DOS) programs to automate the process. Just use %1.bat and %1.exe (or com, depending on the program) for the names.
Qa
. Applications are binary/executable files.
. You can't change one to the other just by changing the file extension.
. As lemonie mentioned, there are programs that will compile a batch script into an executable file. Google is your friend.
L
. But there's nearly always more than one way to skin a cat. ;)
?
L
What do you think?
L
. And I'm not saying that your method isn't (wasn't) used somewhere, just that I haven't seen it.
As I can't recommend one, just search for "bat to exe converter"
L