Computing.Net > Forums > Disk Operating System > batch files

batch files

Reply to Message Icon

Original Message
Name: Gene
Date: July 8, 1999 at 19:35:27 Pacific
Subject: batch files
Comment:

in MS-DOS what program do you use to create batch files??


Report Offensive Message For Removal

Response Number 1
Name: Igor M
Date: July 8, 1999 at 21:33:00 Pacific
Subject: batch files
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 2
Name: Enduser
Date: July 8, 1999 at 21:34:34 Pacific
Subject: batch files
Reply: (edit)

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.

Enduser


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: batch files

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software