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

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.

batch files

Reply to Message Icon

Name: Gene
Date: July 8, 1999 at 19:35:27 Pacific
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
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.

Enduser


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: batch files

Help!! Batch File www.computing.net/answers/dos/help-batch-file/13525.html

Batch files - - Mapping network drive www.computing.net/answers/dos/batch-files-mapping-network-drive/3809.html

Pause batch file www.computing.net/answers/dos/pause-batch-file/2810.html