computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,490 tips!

Windows XP and DOS
Help and Tips

Use the DOS command prompt in Windows XP. Display system process information, find Windows XP replacements for the tail, sleep, and grep commands, and more batch file tips.

#1: SYNC Command to Flush Buffered Information
Download a substitute for the Unix SYNC command that flushes information to disk.
 
#2: See Which Process Has Opened a File or Other Object
Display the list of files opened by running processes in Windows XP.
 
#3: Display Whois Information in a DOS Prompt or Batch File
Display whois information for a domain or IP address directly from the DOS prompt without having to open a web browser.
 
#4: Defragment Just One File or Directory
Only defragment a particular file or directory that you frequently access.
 
#5: Start a Program Minimized or Maximized via a Batch File
Force a program executed by a batch file to minimize to the Windows Taskbar or appear full-screen.
 
#6: Display Hidden Files at the DOS Prompt
View files Windows may be trying to hide via the DOS prompt.
 
#7: Echo Date, Time, and Message
Easily allow your Windows XP batch files to display debugging information along with a timestamp.
 
#8: Display All System Shares and Privileges
From the Windows XP command-line you can determine all available shares on a remote or local system.
 
#9: Ask the COPY Command to Verify Files Were Written Correctly
Help ensure the DOS COPY command in Windows XP accurately writes files, especially to external media.
 
#10: Print Spooler Information in a Batch File
Diagnose printer errors and determine how many documents are waiting to be printed on remote servers using Windows XP.
 
#11: Printer Driver Information
For diagnostic purposes, display detailed information about currently installed printers on a Windows XP system on the DOS command line.
 
#12: Output to a Log File
Debug a Windows XP batch file and output the current date and time to a log file.
 
#13: Display Files to be Moved or Deleted on Next Reboot
Display a list of files scheduled for moving or deletion when you reboot your Windows XP system.
 
#14: GREP Command for Windows XP
Search text files for matching strings with the GREP-like command for Windows XP and DOS.
 
#15: Run a DOS Application in Full Screen
Force DOS applications running underneath Windows XP to display taking up the full-screen.
 
#16: Pause Batch Files with a User-Defined Message
Pause a Windows XP batch file with a prompt other than "Press any key to continue."
 
#17: Burn DVDs From the Command Line
The Windows XP/DOS dvdburn command line utility burns DVDs from .ISO files.
 
#18: Display a Directory Tree of all Subdirectories and Files
Display a directory's subdirectories and (optionally) all files contained therein.
 
#19: Output the Date in a Batch File
Two options for outputting the current date in a DOS batch file running underneath Windows XP.
 
#20: Display Command History
Display a list of previously executed DOS commands under Windows XP.
 
#21: Top Command Alternative to View Processes
View Windows XP process information in the DOS prompt.
 
#22: Unix Du (Disk Usage Command)
This Windows XP DOS replacement for the Unix du command determines the disk space used in various directories.
 
#23: Defragment Drives in DOS or a Batch File
As an alternative to Windows XP's GUI-based Defrag application, use DOS's defrag command from the command prompt or a batch file.
 
#24: UNIX Style Less Command
Scroll through text files inside the Windows XP DOS prompt with a command similar to UNIX's less command.
 
#25: Change the DOS Prompt Size in a Batch File
Add or reduce lines or columns to/from a DOS prompt in Windows XP.
 
#26: Display Local or Remote Server Debug Information
Help determine if a remote or local Windows XP server has certain security hotfixes installed. Also see what services it is running and more.
 
#27: Display Directory and File Owners
If you share your Windows XP machine with others, this parameter lets you display directory and file ownership at the DOS prompt or in a batch file.
 
#28: Test the Speed of Batch Files By Creating Dummy Files
The CREATFIL DOS command, available for Windows XP, can help test the speed of batch files and also how applications handle low hard drive space scenarios.
 
#29: Remove a Directory and All Subdirectories
Use these Windows XP and DOS command line parameters with the RMDIR command to remove all subdirectories.
 
#30: Use NTimer to Display How Long a Program Takes to Execute
Benchmark how long it takes a process to run under Windows XP from the DOS prompt.
 
#31: Change Title of a DOS Prompt Window
Since "C:\windows\system32\cmd.exe" isn't very descriptive, you can change the title of DOS prompt windows running in Windows XP.
 
#32: Batch file SLEEP Command
Cause Windows XP batch files to sleep for a given number of seconds.
 
#33: Ask the COPY Command to Verify Overwriting Files
Help prevent the DOS COPY command in Windows XP from accidentally overwriting files.
 
#34: Search Google and Other Search Engines from the Command Prompt
Create a Windows XP/DOS command line utility that lets a batch file search Google by starting a web browser or displaying the results in a DOS prompt.
 
#35: Burn CDs From the Command Line
The cdburn command burns CDs from .ISO files on the Windows XP DOS command line.
 
#36: List all DLLs Loaded on a System
The listdlls command displays a list of Dynamic Link Library (dll) files loaded on a Windows XP system.
 
#37: Show Which Users Have Which Privileges
Quickly determine, from the Windows XP command line, which users have certain rights on a particular workstation or server.
 
#38: Batch File to Determine Operating System Version
Inside a batch file determine if the operating system is Windows NT, Windows 2000, Windows XP, or Windows 2003.
 
#39: Unix Style Tail Command
Display the most recent results of a log file with the tail command for Windows XP.
 
#40: Display a Directory List Without Header or File Information
Display a barebones list of files in a directory without the volume name, serial number, bytes free, and other information.
 
#41: Change the DOS Prompt Color in a Batch File
Grab the user's attention if a batch file running underneath Windows XP's DOS fails by changing the text color.
 
#42: Hexadecimal to Decimal Conversion on the Command Line
Download a Windows XP command line tool to simply convert decimal numbers to hexadecimal and vice-versa.
 
#43: Open the Registry to a Specific Key
This DOS command in Windows XP will open the registry editor to a specific key.
 
#44: Modify the System and User Paths
The PATHMAN DOS command can make it easier to modify the system and user paths used by Windows XP.
 
#45: Remembering Directories (PUSHD and POPD)
Use the PUSHD and POPD commands to remember directory names in DOS with Windows XP.
 
#46: Open a System Management Console
Open computer management consoles from a Windows XP/DOS batch file.
 
See Also:

@ Windows 2000 and DOS
Combining the power of DOS and Windows 2000. Tweaking the prompt, resetting your Internet connection, developing replacement commands, and more.

<- Go back to Windows XP


 
Add: Del.icio.us | Digg | Furl | My Yahoo!
 


More in MalekTips:
Safari for WindowsDigital Travel PhotographyWindows Vista - Start Menu - Taskbar - Toolbars



Remove History Items After One DayPhotographing Piers and Using Piers to Photograph SkylinesExpand or Clear List of Recent Programs Displayed on Start Menu

RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Subscribe'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2009 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums