1.

Solve : Running dos with a text file.?

Answer»

My main goal atm is to start a batch FILE by starting a txt file.

So when I click the text file I made I want it to start my batch file and start executing the commands I put in, is there a way to do this?

TY, -hertebeest-Quote

My main goal atm is to start a batch file by starting a txt file.

So when I click the text file I made I want it to start my batch file and start executing the commands I put in, is there a way to do this?

Ty, -hertebeest-

Batch files are text files.

If you want to be able to click a text file that you made and have it run, rename it.
As in foo.txt renamed to foo.bat.

If within foo.bat you want to run yet another batch file, you can do that too.

No no no I want the .txt file to become a .batch file ONLY when I start the .txt file if you get what I mean.

So if a friend of mine (WICH i SEND the .txt file to) opens it, it doesnt open .txt but it opens .bat.

So basicly make a .bat file look LIKE a .txt file ^^.

Thx in advance, -Hertebeest-I don't believe there is a way to do this. Each extension serves their own purpose. In your case .txt will open as a text file and .bat will of course open as a batch. You can't make a .bat file look like a .txt.Have a read through all of these. There is something in the 1,230,000 links that will be just right for you:


http://www.google.com/search?hl=en&q=batch+file+tutorial
>.>


Discussion

No Comment Found