by admin on April 15, 2012
In Windows, we can format a disk drive from command line also. We can use the inbuilt command ‘format’ for this. What ever we can do in the disk management tool, we can do the same using format command. This article explains the different options available for this command. Format a disk drive format driveletter [...]
by admin on April 14, 2012
If you want to add command window tile to the start screen, here is how you can do this. Open the folder c:\windows\system32 in explorer. Locate the file cmd.exe Right click and select ‘Pin to Start‘ That’s all. Now click Windows key, you can see a new tile added at the last. You can drag [...]
by admin on April 14, 2012
We can find creation date of a file from command line using dir command. The syntax for this is given below. dir /T:C filename If we need to get file creation date and time for all the files and subdirectories in the current directory, the command is: dir /T:C We can also restrict the output [...]
by admin on April 12, 2012
This article lists down the commands available in Windows 7. Most of the legacy commands of XP and Server 2003 are still applicable for Windows 7. Commands in Windows 7: At : Schedule tasks attrib: Manage file attributes cacls: Edit file access permissions cd: change directories in command window bcdedit: Edit Windows boot configuration cipher [...]
by admin on April 4, 2012
We can get file last modified date/time from Windows command line using dir or forfiles commands. Using Dir command: dir /T:W filename For example, to get the last modified time for the file ‘E:\commands.docx’ the command would be: dir /T:W e:\commands.docx To get the modified date and time for all files and sub folders in [...]
by admin on April 4, 2012
Powercfg command on Windows allows users to configure power settings on laptops/desktops. Using this command we can configure settings related to idle timers, low battery alarms, hibernate/sleep timers etc. Get the current active scheme details: powercfg -getActiveScheme Example: c:\>powercfg -getActiveScheme Power Scheme GUID: 4ac93938-c0ab-4b33-9150-b71bf11e59d3 (Maximum Battery Life) c:\> List the power schemes available on the [...]
by admin on March 30, 2012
Winzip is a freeware tool for zipping files. Default Winzip installation has GUI for creating zip files, for extracting files from zipped files etc. It does not have command line interface. But we can add command line interface to the winzip utility by installing the add-on available here. http://www.winzip.com/prodpagecl.htm You need to have Winzip version [...]
by admin on March 28, 2012
If you are reading this, then you have come here searching for help on how to install powershell 2.0 on your Windows 7 system. The less known fact is that it’s already installed on your system. You yourself can check this. Open start menu and type ‘powershell‘ in the search box. You will see links [...]
by admin on March 16, 2012
Windows provides command shortcuts for almost all the popular applications/tools. To open ‘My computer‘ we can run the command ‘computer‘. This article lists the run command shortcuts for some more tools and applications. Find them below. To open My computer, you can run the command ‘computer‘ To open My documents, you can run ‘documents‘ To [...]
by admin on March 14, 2012
Tzutil.exe is a new command in Windows 7, which was not provided in XP. Using this command we can set/find the time zone settings from windows command prompt. Get the current time zone : We can find the current time zone by running the following command. tzutil /g Example: c:\>tzutil /g Pacific Standard Time c:\> [...]