|
NT Shell Command Reference
|
Sample Batch Files
These aren't particularly good examples or anything - they
just happened to be cluttering up my hard drive
| add_printer.cmd |
Notes and smaple script on installing local and network printers from the command line |
| disk_check.cmd |
This script checks the event log for strings that typically indicate
a drive failure and notifies the ADMIN. |
| Host_infoNT.bat |
This batch file finds your NetBIOS name, FQDN and IP address.
Also try %COMPUTERNAME% |
| justdate.bat |
This one finds the date althoug it would be easier to use
%DATE% now days. |
| justtime.bat |
This one finds the time but, again, it's easier to use
%TIME% now. |
| memory.bat |
This batch file displays the contents of memory |
| reboot.cmd |
This script reboots the computer |
| user.bat |
This batch file reads the currently logged on user name from
the registry and assigns it to %CurrentUser%. Now days you could
use %USERNAME% |
| user_input.bat |
This one gets user input without any external programs. |
Shell Command Reference
|