|
-
February 3rd, 2000, 09:33 AM
#1
Batch File
Although I'm progamming VB for several years, I've never used *.bat files. Maybe because I've never worked directly with DOS. Where can I get some info about set of commands, syntax in *.bat file and so on? I checked MSDN and found almost nothing. Do I need to read DOS books?
Thank you.
Vlad
-
February 3rd, 2000, 09:36 AM
#2
Re: Batch File
IMHO you'd better check out Windows Script(ing) Host.
That tool allows you to write BATCH programs in VBScript or Jscript.
You can download WSH from the MS Site.
It gives you much more control over error handling, conditional execution and so on than the Batch language.
-
February 3rd, 2000, 09:40 AM
#3
Re: Batch File
DOS batch fies are mainly just a sequence of dos commands(or even windows when running in a dosbox)
eg:
@echo off
cd c:\
echo Renaming *.dat into *.txt
ren *.dat *.txt
this is a simple batch that renames all dat files in c:\ into txt
For more details about the commands, use the help command (if available) or type the command vith the parameter /? ( like dir /? )
Tom Cannaerts
[email protected]
-
February 3rd, 2000, 03:30 PM
#4
Re: Batch File
Hi
I have a file("help.com" - u can get from dos 6.22 library) that has infomation(including examples) about all af the batch files commands.
email me and Iwll send u...
by the way r u vlad speactor?
Form Niztan Aviram.
Any help whould be highly appreciated.
-
February 3rd, 2000, 05:18 PM
#5
Re: Batch File
Thank you very much.
Please send that file to [email protected].
I'm Vladimir Chapranov, not Speactor.
Vlad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|