About Us
American Interests
Arizona Regional
Biocybergenics
Convergence Zone
Free Stuff - E-groups
Home
Internet Investigations
Naradamotive
Psionic Guards
Site Search
Social Unrest
Universal Wholesale
Webmaster's Lounge
XP COMMAND DESCRIPTION
APPEND ARP ASSOC AT ATTRIB BREAK CACLS CALL CD
CHCP CHDIR CHKDSK CHKNTFS CLS CMD COLOR COMMAND COMP
COMPACT CONTROL CONVERT COPY DATE DEBUG DEL DELTREE DIR 2
DIR ... DISKCOMP DISKCOPY DOSKEY ECHO EDIT EDLIN ERASE EXIT
EXPAND FC FDISK FIND FOR FORMAT FTP GRAFTABL HELP
IPCONFIG LABEL LOADFIX MD MEM MKDIR MODE MORE MOVE
MSCDEX NBTSTAT NET NETSTAT NLSFUNC NSLOOKUP PATH PATHPING PAUSE
PING PRINT PROMPT RD REN RENAME RMDIR ROUTE SET
SETVER SHARE SHUTDOWN SORT SUBST TIME TREE TYPE UNLOCK
VER VERIFY VOL XCOPY





FOR Boolean used in batch files.
FOR %variable IN (set) DO command [command-parameters]

%variable Specifies a replaceable parameter.
(set) Specifies a set of one or more files. Wildcards may be used.
command Specifies the command to carry out for each file.
command-parameters  Specifies parameters or switches for the specified command.

To use the FOR command in a batch program, specify %% variable instead of % variable.

EXAMPLES

for back do cd\ - Would allow you in a batch file to do cd\ if 5 is specified else were in the batch file.

APPEND ARP ASSOC AT ATTRIB BREAK CACLS CALL CD
CHCP CHDIR CHKDSK CHKNTFS CLS CMD COLOR COMMAND COMP
COMPACT CONTROL CONVERT COPY DATE DEBUG DEL DELTREE DIR 2
DIR ... DISKCOMP DISKCOPY DOSKEY ECHO EDIT EDLIN ERASE EXIT
EXPAND FC FDISK FIND FOR FORMAT FTP GRAFTABL HELP
IPCONFIG LABEL LOADFIX MD MEM MKDIR MODE MORE MOVE
MSCDEX NBTSTAT NET NETSTAT NLSFUNC NSLOOKUP PATH PATHPING PAUSE
PING PRINT PROMPT RD REN RENAME RMDIR ROUTE SET
SETVER SHARE SHUTDOWN SORT SUBST TIME TREE TYPE UNLOCK
VER VERIFY VOL XCOPY





Cyonic Nemeton