Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Name: Igor M Date: July 8, 1999 at 21:33:00 Pacific
Reply:
Hi,
It denends on the version. In DOS 6.x you can use EDIT command for that. Or in any DOS version you can use any text editor you have for that puropse. And then there is one not so convenient way, but it works in any DOS version without any special tools. At the DOS prompt use command Copy Con Batch.bat to create Batch.bat file (for example) and to copy text from the console into it. Then type the text of batch file and at the end press F6 and Enter.
Good luck, Igor M
0
Response Number 2
Name: Enduser Date: July 8, 1999 at 21:34:34 Pacific
Reply:
Any text editor can be used. DOS 5.0 and later came with an edit program that you can use by typing "edit" without the quotes and pressing the edit key. Make sure you save as "filename.bat" where filename is what you want to call your batch file. If you want to give it a filename before you open it you just type "edit filename.bat" without the quotes. If you have windows you may use Notepad also. There are a ton of text editors you can download on the web. If you have an earlier version of DOS and no text editor you can use the copy command and type it to the console (your monitor) using the following "copy con filename.bat" without the quotes and hit the enter key. When you have finished writing the file hold the ctrl key down and press the letter z you will see a ^Z press enter and look for 1 file copied.
Summary: I need help with writing a batch file that returns an error code to another application (app1). My batch file is called by another application, when my batch file runs, it calls a VBS Script. This scr...
Summary: Hi i have made a batch file which installs a bit of software and then runs it. i need a command which after the first line of the batchfile has been run it waits 20 seconds and then the second line ru...