All the information you'll need is in the help dialogs, just type "help" at the command prompt and it'll list all the commands available. Then just type a command followed by /? and it'll show all the help for that command:
C:\current_directory>echo /?

For what you described above, you may want to look at "set", "if", "echo", "goto" for starters.

A few tips:
CODE
type "set" to display a list of all system variables (DATE is a sytem variable!)
use the "@" sign to turn echo off for the current line only
you can use "%n" to pass variables into the batch file (ex: typing "mybat.bat blah crap", then in your bat file you can say
if "%1"=="blah" start blah.exe
if "%2"=="crap" goto crap

here's a little code to get you started:

CODE@ECHO off
CLS
ECHO:This is my batch file
REM enter comments here
IF /i "%1"=="skip" (
ECHO:You must not care what day it is
GOTO endofprogram
)
SET dayofweek=%date:~0,3%
IF "%dayofweek%"=="Fri" (
 ECHO:It's Friday!!
) ELSE (
 ECHO:Nope, not friday yet
)
:endofprogram
ECHO:
ECHO:
PAUSE



I'm sure there are some good tutorials out there, but this will at least get you started

 

 

 


Comment/Reply (w/o sign-up)