Hidden features of Windows batch files -


what of lesser know, important , useful features of windows batch files?

guidelines:

  • one feature per answer
  • give both short description of feature , example, not link documentation
  • limit answers native funtionality, i.e., not require additional software, windows resource kit

clarification: refer here scripts processed cmd.exe, default on winnt variants.

(see also: windows batch files: .bat vs .cmd?)

line continuation:

call c:\windows\system32\ntbackup.exe ^     backup ^     /v:yes ^     /r:no ^     /rs:no ^     /hc:off ^     /m normal ^     /l:s ^     @daily.bks ^     /f daily.bkf 

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -