Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
If I remember correctly writing batch files are similar to Basic files....
So anyone got the all time guide to writing complex batch files?Also looking for a place that shows me how to do frames and just about everything else on HTML...

kris Jarma has a book about batch files. I think the name is correct. This is probably one of many books on the subject.

OH REALLY, BJARNI?
WHAT ABOUT INCORPORATING ASSEMBLY LANGUAGE CODE INTO YOUR BATCH PROGRAM FILES?
THAT CAN BECOME QUITE COMPLEX.
NT DOS BAT FILES CAN BE A CHALLENGE.
CAN YOU WRITE A BAT FILE THAT GETS USER INPUT INTO THE ENVIRONMENT AS A SYSTEM VARIABLE, PARSES IT AND RETURNS A VALUE TO
ANOTHER PROGRAM (AS A PARAMETER) SUCH AS VISUAL FOXPRO OR BASIC? I HAVE DONE IT, AND FOUND IT TO BE A FAIRLY SATISFYING TASK.
JEFF TRY SEARCHING FOR "DIRK VAN DEUN" HE HAS A COUPLE OF INTERESTING THINGS TO SAY ON BAT FILE PLUGGING.

The actual code that handles batch file processing is in command.com.
The microsoft command.com version is just one of many command interpreters for dos.
Try using NDOS.com which is a command interpreter from the Norton uilities version7. (I haven't tried the other versions). One of the batch file keywords under Ndos is called "input"
A batch file line would look like:
input enter the info %%var
echo %var
This actually allows you to enter a response from within a batch file and it will print out what you entered into the variable. If you use command.com the closest you can get is entering the variable contents via the command line. Please anyone help me if there is a way to get input from within a batch file, similar to NDOS's method, using command.com.
t

hello friends,
i need help writing a batch file that will open pkzip - and create a zip file of an entire network drive and store it in a folder with a different filename each time depending on the date eg.23sept2000.zip ... can some kind guru please help me out as i have no idea how to write batch files .. except the most simple logon scripts ..
thank you all so much ..please mail me with any help you could give me ..

hello,
I need help to write a batch file that will delete files from 2 folders on a server. this batch file has to run 1 a month and the files have to be deleted by the day they where modified

Hi guys and gals,
I hate to say this without sounding stupid in this sophisticated forum, but I really need to write a batch that will get me the DOS prompt with a path set to d:/java2
I need this to expedite tthe process of accesing my JAVA folder on Drive D:
I also want to know how to specify your command prompt text (i.e. my text:> __ )
Thanks

I need help writing a batch file that will allow me to ping a node with the constant ping switch of -t. I administer many servers abd i wanted to have a window of DOS windows running the ping utility for me to monitor. Someone help if you can. appeciative in advance. Thanks

ATTN: Somah and G. Beverely
Somah,
You just need a very simple bat file. Use a text editor (i.e. notepad or edit) create a text file with the extension ".bat" then type in the commands as if you were at the command line. Your text could be as simple as:
d:\java2As far as the command prompt is concerned just type in the following command at the DOS command line:
PROMPT yourdesiredtext$GExample:
prompt mytext$g
would create a prompt of
mytext>G. Beverely,
Your question also has a fairly simple solution. Create a text file called "something.bat" and then insert the folling text:
:start
ping -t xxx.xxx.xxx.xxx
GOTO start(xxx.xxx.xxx.xxx = node which you want to ping)
I hope I answered your questions. If not then send me an e-mail as I do not check this forum very often.

![]() |
![]() |
![]() |

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