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
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?
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...).
Summary: How can I count a specific character in a line using a batch file Ex: if I pass a line "c:\dir1\dir2\dir3" to the batch file to count "\" then it should return 3. ...
Summary: I want to make a batch file that takes a file as a parameter, then connects to a predetermined FTP server and uploads the indicated file, then quits. The only problem is, the commands within the batch...
Summary: Does anyone know how to create a batch file that will automatically get the current date in the format year month day eg. 20060206 (using todays date as an example) Can this be done using dos batch f...