If you type the command compact without parameters, it will show the compression rate in the current directory. If you use it with parameters, for example, typing compact /c will compress the files in the c drive.
This is the end result of the compact command you should see a list of files before it tells you the compression rate.
Typing CMD in the run box of Windows 7, Vista, 8, and XP will cause the command prompt to pop up on the screen.
When you type cmd in the command line, it will show you the version of Windows you are running and the copyright date. Make sure to type exit to remove the stack frame until the command line goes off the screen.
If you type cmd/?, you will start a new instance of Windows XP command interpreter. You will also get options to carry out other commands by typing cmd/ the the letter on the screen..
Open up the command prompt and type tree. Typing tree will display the directory structure of a path of a disk in a drive.
When you type tree this should be the screen you see when you type tree.
If you type tree /? you will get two options with tree /f you will get displayed names of the files in each folder and with /a you will get ascII used instead of extended characters.
When you type system info with no spaces in the command prompt, you will see a list of system specs.
You will also see the domain name, and ip address. The system info will also display virtual memory and other information about the system.
The Chksk command shows a status report on a disk based on the file system. It will also correct the errors on a disk. It will display the status of the disk in the current drive.
With the date command you can change the date. When i used this command in windows 7, I had to right click and use as administrator command prompt to to change the date.
This command displays the group policy settings ,and the Resultant Set of Policy RSOP for the computer.
There are also several different commands with gpresult that you can use. This link also provides useful commands, and describes what they do.
For example if you type gpresult /? you will get a list of options to use. If you type gpresult /s , it will specify the remote system to connect to.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true
For example if you type gpresult /? you will get a list of options to use. If you type gpresult /s , it will specify the remote system to connect to.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true