PDA

View Full Version : Batch File creation


Silverfox 200
07-13-2007, 02:29 PM
I wanna learn to create a batch file from scratch, anyone know any good tutorials online?

TheGrOgStEr
07-13-2007, 07:40 PM
http://www.iopus.com/guides/batch.htm
That worked for me for a short little while, but I bought a book in the end.

Covered DOS, Windows Scripting Host and Linux batch..
I can't find the book right now, but I'll see if I can find it and tell you the title.

Random
07-14-2007, 02:41 AM
I love batch files, I use them for everything at work.

They are very easy to create as shambles suggested, if you want a full list of commands open up Command Prompt and type "help" (without quotation marks), if you want more details on what a certian command does and what the syntax is, type the command follwed by "/?", so it should look something like this, "dir /?" (again without quotation marks). :)

acal3000
07-14-2007, 04:24 AM
I used to do a lot of batch files in the MS DOS days

but by know I have forgot several commands I used to known

I loved those days

I used to use to things like shortonings downs paths to access exe filex

files for example

things like pacman.bat

inside the bat

prompt $p$g
cls
c:\
cd packman
packman
cd...


Things like but like i said a have forgot several commands and about the windows scritptings
I don't know it well

I used to make them also recreate the autoexec.bat and config.sys with pirate windows 3.1 from other machine (Was very easy to pirate simply copying the c:\windows folder with some backup program and then chaging some things in the ini files but now with the windows registry and inclusion of the DOS in the Windows 95/98 CDrom made this old tricks more diffiult to do You couldn't for example use your MS-DOS 6..22 in you windows 95 install you have to use the machine own DOS incuded in the CD ROM so if you copied and pireted in the old way the system simpy wouldn't execute the win.com

I even made run Windows 3.0 and Windows 3.1 on vmware installed on kubuntu the past year my brother laugh about me when I said him i made run so ancient Oses on my machine but I don't know I guess I was nostalgic