Batch Files: Examples (G)

Download the ZIPed sources Click the floppy disk or Download the ZIPed sources icons to download the ZIPed sources

Checksums for the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources

 

 

All 0..9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

Batch file examples
Click the floppy disk icons to dowload the ZIPed sources Click the question mark icons to view the MD5 and SHA1 checksums for the ZIPed sources Name Version Description OS (1) Last modified Remarks
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetAllUserDetails.bat 1.00 List details of all user account W2K 2006-09-13 Requires GetUserDetails.bat.
Written by Florian Dörr.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetCDROMDrives.bat 1.00 List all CDROM drives for the local computer W7 2010-09-06 Requires REG 6.1. 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetCDROMDrivesXP.bat 1.10 List all CDROM drives for the local computer XP 2010-09-06 Requires REG 3.0. 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetDevDJ.bat 1.00 Check if a HP DeskJet printer driver is installed NT 2002-03-30 Requires DEVCON.
Tip by Eric Krause
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetDevLT.bat 1.00 Check if a Logitech mouse driver is installed NT 2002-03-30 Requires DEVCON.
Tip by Eric Krause
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetDevSB.bat 1.00 Check if a Creative Sound Blaster driver is installed NT 2002-03-30 Requires DEVCON.
Tip by Eric Krause
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetFlashDrives.bat 1.00 List all removable "flash" drives for the local computer W7 2010-09-06 Requires REG 6.1. 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetFlashDrivesXP.bat 1.00 List all removable "flash" drives for the local computer XP 2010-09-15 Requires REG 3.0. 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetID.bat 1.02 Search and display login and full names based on part of a user's full name (fails on migrated NT4 user accounts) W2K3 2004-08-06 Requires Windows Server 2003's DS Tools
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetIP.cmd 3.00 Show PC's IP address (both Windows NT/2000/XP and OS/2 Warp/eCS) NT OS2 2002-02-09  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetIP98.bat 1.00 Show PC's IP address (Windows 98) 98 2001-02-16  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetLastDrive.bat 1.00 Return the last ("highest") drive letter used on the local computer W7 2010-09-06 Requires REG 6.1. 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetLastDriveXP.bat 1.00 Return the last ("highest") drive letter used on the local computer XP 2010-09-16 Requires REG 3.0. 
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetMacXP.bat 1.00 Show MAC address of any computer in the workgroup or domain NT 2006-09-06  
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetPorts.bat 2.12 Show I/O addresses for serial and parallel ports All 1999-10-16 Also available as Perl script
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetPrn.bat 1.01 Display default printer for current user and list all printers for local system. NT 2001-03-08 Requires REG 1.0 or 2.0.
Works on NetBIOS/LAN Manager networks.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetPrn2.bat 1.00 Display default printer for current user and list all printers for local system. NT 2001-03-08 Requires REG 1.0 or 2.0.
Works on "real" NT networks.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRAM.bat 1.10 Show the amount of RAM in MB NT 2001-07-17 Use Memory.bat if more speed is required.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRAM.bat 2.00 Show the amount of RAM in MB W2K 2002-05-05 Use Memory.bat if more speed is required.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRes.bat 1.00 Show display resolution and refresh rate NT 2001-09-09 Requires REG 1.0 or 2.0.
Also available as OS/2 Rexx script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRes.bat 2.00 Show display resolution and refresh rate NT4 2001-09-09 Also available as OS/2 Rexx script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRes.bat 3.00 Show display resolution and refresh rate NT 2002-11-04 Also available as OS/2 Rexx script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetRes.bat 4.00 Show display resolution and refresh rate XP 2007-05-22 Also available as OS/2 Rexx script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetUninstall.bat 2.00 Find the uninstall command(s) for the specified program WV 2012-02-01 Also available as VBScript script.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GetUserDetails.bat 1.00 List details of the specified user account W2K 2006-09-13 Written by Florian Dörr.
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GifList.bat   Display all GIF files in your web browser All 1999-03-21 Consists of 3 interdependent batch files
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GrMember.bat 0.53 Displays the members of the specified group(s). W2K 2005-04-03 Requires Windows Server 2003's DS Tools
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source Groundhog.bat 1.00 Temporarily changes the date and then runs the specified command NT 2004-09-29 Written by Bruno Mota
Click the floppy disk icon to dowload the ZIPed source Click the question mark icon to view the MD5 and SHA1 checksums for the ZIPed source GUIEnvironment.bat   Edit NT's environment values in GUI mode NT 2001-05-12 Incorrect changes to NT's environment may cause serious system software malfunctions. Use entirely at your own risk!

 

All 0..9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 

Notes: (1) Operating System version these batch files were written for
All No version specific commands are used, though it is (obviously) not tested with every DOS version available
95 Windows 95 (and probably Windows 98 as well)
98 Windows 98
DOS3 MS-DOS 3 and 4
DOS6+ MS-DOS 6 and later
NT Windows NT 4 and later
NT4 Windows NT 4 (Windows NT 4 Terminal Server Edition too)
W2K Windows 2000 and later
XP Windows XP
W2K3 Windows Server 2003
W2K8 Windows Server 2008
WV Windows Vista
W2K8R2 Windows Server 2008 Release 2
W7 Windows 7
OS2 OS/2 Warp
TS Windows NT 4 Terminal Server Edition, or Windows Server 200* with Terminal Services

page last uploaded: 18 November 2012, 19:31