In this section you will find a collection of scripting techniques
and best practices for batch files.
Most of these techniques apply to either "DOS batch"
(also related to as "real DOS" batch or "true DOS" batch), or
"NT batch", only in rare cases to both.
If you want to use "true DOS" batch techniques in Windows NT 4
or later (2000, XP, Server 2003, Vista) you may have to invoke these
batch files with
COMMAND/C.
Check the "classification" for a batch technique by hovering your mouse
pointer over the
information icon at the left of the titles before asking why a batch
file doesn't work in your environment.
MSINFO32.EXE is one of Windows' native inventory tools.
It is usually located in the folder
"C:\Program Files\Common Files\Microsoft Shared\MSInfo".
Without command line arguments it will run in GUI mode.
Type MSInfo32 /? for a list of available command line arguments.
DXDIAG.EXE is Windows' native DirectX diagnostic tool.
It is usually located in the "%windir%\System32" directory.
Without command line arguments it will run in GUI mode.
Type DXDiag /? for a list of available command line arguments.
How To ...
An old collection of batch file scripting techniques, most of them for MS-DOS only.
The page will be opened in a new window because the frameset is incompatible with the DHTML menu and the stylesheet switcher.
Poor man's admin tools
A collection of scripts that can be used to replace resource kit utilities or commands no longer available in recent Windows versions.
Solutions found on alt.msdos.batch
Several clever scripting solutions from the alt.msdos.batch and alt.msdos.batch.nt newsgroups.
Most of these are from the previous millennium, but still hold their own.