by admin on March 10, 2011
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
by admin on 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 [...]
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 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 [...]