Computing.Net > Forums > Disk Operating System > How to create

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.

How to create

Reply to Message Icon

Name: PCWilliam
Date: February 13, 2003 at 12:37:13 Pacific
OS: windows 2000
CPU/Ram: 512
Comment:

I need a good site with info on how to create a batch file for beginners



Sponsored Link
Ads by Google

Response Number 1
Name: Johns
Date: February 13, 2003 at 13:58:47 Pacific
Reply:

Batch files are files filled with basic (some complex) DOS commands.

Gather info about DOS commands and you can create your batch files from what you learn.

Or simply ask for a bit of help on what you would like to do and some of the people here should be able to help.


0

Response Number 2
Name: santa
Date: February 13, 2003 at 21:30:20 Pacific
Reply:

merry thursday PCWilliam,

exactly as johns said, batch files just are files with DOS commands in them.

i am not going to post a url to help create batch files because that'll take away visits for computing.net since you can just ask here when you have a problem.

however, here is a url that has all the currently available DOS commands. http://www.easydos.com/dosindex.html

enjoy. peace.
-santa


0

Response Number 3
Name: darkstar
Date: February 22, 2003 at 12:25:49 Pacific
Reply:

OK then
I would like to create a batch file for the guys at work so that they can simply ping a server.
But when you make a call to ping.exe it just flashes the command window briefly for a few seconds.
I trust the solution is mind numbingly simple.


0

Response Number 4
Name: Miskva
Date: February 22, 2003 at 13:59:06 Pacific
Reply:

If you call the program from Start\run, or by double-clicking it, dos commands are executed, and when they are finished, they close the windows. This is typical behaviour, and it indeed is a problem when you have any script, which just shows something on screen (like ping).

Just make the script like this:

============================================
@echo off
ping servername
pause
============================================

adding "pause" will wait on a key to press, which is what you need
"@echo off" is just a command you should put in every batchfile, on the first line


0

Response Number 5
Name: darkstar
Date: February 23, 2003 at 05:58:28 Pacific
Reply:

thats great, thank you very much. This works well on W2K which is what I wanted. however I'm a little curious as to why this does not seem to work in WindowsXP (home).
The cmd window stays open but with no text displayed.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

How search file only by s... unknown media drive c



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: How to create

How to create a log file in 1 line www.computing.net/answers/dos/how-to-create-a-log-file-in-1-line/12735.html

How to create MAC partition on an IBM? www.computing.net/answers/dos/how-to-create-mac-partition-on-an-ibm/7001.html

How to create a MS-Dos boot partition? www.computing.net/answers/dos/how-to-create-a-msdos-boot-partition/3849.html