Below is the list of commands that can be run from windows command prompt (CMD).  You can follow the link given for a command to see the syntax and examples. At: Schedule tasks Attrib: Set file attributes Bootcfg: Enable kernel debugging copy: Copy files Cls: Clear command window screen Compact: Compress or decompress files and [...]

{ 7 comments }

Search classes in jar file

by admin on May 15, 2013

We do not need to download special tool to search for classes in jar files.  This post explains how to do that without the use of any additional tool. You need to have java sdk installed on your machine to use this tip. If you are a java developer, you might already have it on [...]

{ 0 comments }

Find memory size

by admin on April 11, 2013

In Windows, we can find the physical memory size from command line. We can do this either using systeminfo or wmic commands. Both the commands are given below. 1. Using systeminfo command systeminfo | findstr /C:”Total Physical Memory” Example: C:\Users\srinisa>systeminfo | findstr /C:”Total Physical Memory” Total Physical Memory: 3,794 MB 2. Using WMIC command wmic [...]

{ 0 comments }

How to Enable or Disable guest account

by admin on March 31, 2013

To find out if guest account is enabled on your computer, you can run the below command net user guest | findstr /C:”active” Example: c:\>net user guest | findstr /C:”active” Account active No To enable guest account from command prompt: Open elevated administrator command prompt and run the below command. net user guest /active:yes Example: [...]

{ 2 comments }

This post talks about how to rename file extensions in bulk using simple commands. No 3rd party tools are required. At the end of the post, you can find a download link for the batch file script. Change file extensions in bulk: We can change the extension of files in the bulk using rename command. [...]

{ 0 comments }

In Windows, we can kill processes running on a remote computer using the taskkill command. We can specify process id/image file name/user name to identify the processes that need to be killed. Below you can find the syntax for each of the cases with examples. Kill remote process using process id. The syntax for this [...]

{ 0 comments }

How to start/stop webclient service

by admin on May 10, 2012

We can start webclient service from command prompt using the below command net start webclient C:\>net start webclient The WebClient service is starting. The WebClient service was started successfully. C:\> Note that this command should be run from a login account with administrator privileges. Additionally, on Vista and Windows 7, this should be run from [...]

{ 0 comments }

Create event from command line

by admin on April 23, 2012

If you want to log an event in any of the event log files, then you can do that using eventcreate command.  Logging an event helps the system administrators to trace out things if something has not worked in an expected way. Using this command, we can create a custom event with custom id and [...]

{ 0 comments }

Sleep command in Windows 7

by admin on April 18, 2012

Windows 7  provides a new command sleep which can be used in batch files or command prompt to pause the execution and wait for some time. In previous Windows editions(XP and Server 2003), this command is not available. Users of these Windows editions can download Windows resource kit tools for obtaining sleep command. Syntax of [...]

{ 0 comments }

How to change drive label

by admin on April 17, 2012

The labels of disk drives(volumes) can be changed from windows command line using label command.  In the command, we need to specify the drive letter for which we need to change the label. Note that drive letter and drive label are different. In the below snapshot, drive letter is C: and drivel label is ‘Windows [...]

{ 0 comments }

Windows 7 Run commands

April 16, 2012

In this article, we show the run commands available in Windows 7.  Some of the commands available in XP no longer work in Win7. Also, some new commands have been added. Windows 7 Run commands: appwiz.cpl : Programs and Features(View/uninstall installed updates/software) bthprops.cpl : Blue tooth devices calc – calculator certmgr.msc : Security certificates manager [...]

Read the full article →