NT syntax


 

Home Up Virus-Worms Search Contact Us Top Page 1 Top Page 1

Home
Up
Prompt DOS
Batch Commands
CmdLine Arguments
NT syntax
Win2k Reference
XP Commands
Whois script

autoexec
brackets
conditionals
Escape Chars
faq
loops
parameters
NT Permissions
Recovery Console
Redirection
Scripts
Variables
variable editing
variable parsing

 

Windows NT Command Line Syntax

Parameters    Command Line Parameters  %1  %~f1 
Variables     Creating and reading environment variables
Redirection   Spooling output to a file, piping input

Looping constructs
   IF THEN ELSE  Conditional Execution
   loops         Loops and Subroutines

Evaluating expressions
   Using brackets to Group and expand expressions
   SET /A        Environment variable arithmetic
   VarSubstring  Extract part of a variable (substring)
   VarSearch     Search & replace part of a variable
   Escape chars, delimiters and quotes

Misc
   NT Permissions explained
   Recovery      The Recovery Console
   autoexec.?    Running commands at startup
   cpanel.zip    Shortcuts for control panel applets

Batch Files for NT/2K/XP
   DateMath.zip  Add or subtract days from any date
   GetDate       Get todays date (any region, any OS)
   GetTime       Get the time now  
   DelOlder      Delete files more than n days old

   general advice Common Batch file problems 

For more examples see recommended Win NT/Win 2000 books 

Back to the Top

Simon Sheppard
SS64.com