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.
guide to learning batch scripting
Name: starp Date: December 15, 2008 at 01:35:41 Pacific OS: AMD CPU/Ram: Core 2 dual Product: Compaq / SDFS
Comment:
Hi
where can i learn the basics of batch processing script
Name: lee123abc Date: December 15, 2008 at 05:12:33 Pacific
Reply:
Google 'dos help'
Also use your command window. start >> run >> type 'cmd' enter then in your command window type 'if /?' 'set /?' and by the time you are finished with those you will be well on your way.
Need any more help just send me your email address.
0
Response Number 2
Name: Judago Date: December 15, 2008 at 22:52:50 Pacific
Reply:
That's exactly it search, read other people's scripts and search anything you don't understand. There is so much content on the subject it's scary, though off hand I can't think of any definitive tutorial, I kind of picked up what I know that way. I have found the most useful keyword is "batch". Another really good search is "nt batch commands".
Watching these forums can help a lot too, as you see so many different approaches from different people.
0
Response Number 3
Name: BatchFreak Date: December 15, 2008 at 23:27:08 Pacific
Reply:
IF you see a command you don't understand search for "command name" command in batch file, I learned nearly everything I know through Google :p The rest I picked up through trial and error.
**CAUTION*** Do not experiment with FDISK :D
I only Batch if possible, 2000 more lines of code, oh well.
0
Response Number 4
Name: lee123abc Date: December 16, 2008 at 05:07:54 Pacific
Reply:
::here is something nice to start off ::with... copy this to a file called ::mymenu.bat run it and read it and enjoy.
@echo off title Template Menu :mainmenu cls echo 1. Print "Test 001" echo 2. Print "Test 002" echo 3. Exit set choice= set /p choice=Type the number to make selection. if '%choice%'=='1' goto run01 if '%choice%'=='2' goto run02 if '%choice%'=='3' goto run03 echo "%choice%" is not valid please try again goto :end :: :run01 cls echo. echo Test 001 pause>nul goto :end :run02 cls echo. echo Test 002 pause>nul goto :mainmenu :run03 cls echo MainMenu will now exit... Goodbye pause>nul exit :end goto :mainmenu
Summary: Hello, I am new to the batch scripting. I would like to ask which system variables is been defined the WINDOWS path? For Windows XP is %systemroot% but no idea for windows 9x/ME. Thanks for telling me...
Summary: Hi, I need a help in MS DOS batch script. Can I call an Internet session in a batch mode in DOS script? Following example explains my problem. @echo off iexplore www.mytestphp.com^&myparam.php re...
Summary: If the program doesn't have a switch to allow you to script it, I don't think you could do it with built-in commands. You could probably use expect.exe to accomplish what you need. If you have troubl...