Computing.Net > Forums > Programming > 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: diametric77
Date: August 16, 2004 at 13:01:24 Pacific
OS: XP Pro
CPU/Ram: 1.8/256
Comment:

DOn't laugh, but what language are batch files written in? I looked online, and it seems everyone just sort of gives tutorials that assume you know "X" instead of taking you through the beginning. Any book or anything I might be able to reference?

Thanks In Advance,

-Diametric




Sponsored Link
Ads by Google

Response Number 1
Name: Candle
Date: August 16, 2004 at 15:00:52 Pacific
Reply:

I think it is just a txt file with the bat extension .

"Don't know what you don't know."


0

Response Number 2
Name: BlueRaja
Date: August 16, 2004 at 16:21:25 Pacific
Reply:

.bat files are written using native DOS scripting commands. You'll probably hear this as "Windows (or DOS) scripting language" or "Windows (or DOS) batch file language". They are interpreted by Windows/DOS in realtime. It's its own unique language - you shouldn't need any previous programming experience to learn to write simple scripts.

Ex. go to notepad, type
@ECHO OFF
ECHO HELLO
PAUSE

save it on the desktop as "hello.bat", double click it, there you go, your very first batch file.
If you couldn't follow that, then maybe you're not ready to write scripts.
...Enjoy.


0

Response Number 3
Name: IVO
Date: August 17, 2004 at 02:55:24 Pacific
Reply:

Take a look at

http://home7.inet.tele.dk/batfiles/

Click "Batfiles the DOS batch file programming handbook" to enter the tutorial.

Some chapters are under construction and the beginning ones, giving the DOS fundamentals may be boring, but it is worth to look at.

A warning however, the tutorial deals with DOS batch, the original one, while NT (XP/2K) scripting is far more powerfull relaying on an extended set of commands not supported under the DOS-kernel based operating systems (e.g. For /F, Set /A, internal subroutines...).



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 Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch Files

Batch file to count a specific character in a www.computing.net/answers/programming/batch-file-to-count-a-specific-character-in-a/19751.html

FTP batch file www.computing.net/answers/programming/ftp-batch-file/9027.html

batch file www.computing.net/answers/programming/batch-file/13936.html