by admin on February 11, 2012
If you are a home user of Windows, then you may want to auto login to Windows without providing password each time you login. It’s also useful in the situations where you are doing some automated work on Windows and you want to be logged in automatically after system boot. Whatever may be the purpose, [...]
by admin on February 11, 2012
We can open Excel application from Run by executing the command ‘excel‘ However, ‘excel’ command does not work from command prompt. We need to use start to open excel application from command line. start excel To open a specific excel sheet from Run window you can use the below command. excel fileName Example: Open the [...]
by admin on February 8, 2012
We can launch Microsoft Word application from run window by running the command winword. Note that this command does not work from command line as winword.exe location is not added to the PATH environment variable. However, we can use the below command to open Word application from command prompt. start winword The above commands work [...]
by admin on February 8, 2012
In Windows, we can turn on or turn off hibernation feature. When it is turned off, we don’t see ‘hibernate‘ option in the windows shutdown menu. We can enable or disable hibernation feature from windows command line using ‘powercfg‘ command. Turn on hibernation: We can enable hibernation by executing the below command from elevated administrator [...]
by admin on February 6, 2012
In Linux, we can create an empty file using ‘touch‘ command. There’s no matching equivalent command for touch in Windows OS. However, we can still create empty text files. We can use the file system configuration command ‘fsutil‘ for this purpose. The syntax of fsutil command for creating a file is: fsutil file createnew filename [...]
by admin on February 2, 2012
Like in Linux, we can create symbolic links in Windows OS also. There’s an inbuilt command called ‘mklink‘ using which we can create symbolic links. The commands are explained below with examples. Create a symbolic link to a file: The syntax for creating a symbolic link to a files is as follows. mklink LinkFile TargetFile [...]
by admin on January 29, 2012
You can find the time windows was last rebooted on your computer using systeminfo or wmic commands. Both the commands are explained below. Using Systeminfo: You can run the below command to find the Windows boot time. systeminfo | findstr /C:”System Boot Time” Example: c:\>systeminfo | findstr /C:”System Boot Time” System Boot Time: 1/29/2012, 4:54:04 [...]
by admin on January 29, 2012
Windows OS serial number can be found by running the below command. wmic os get serialnumber Example: c:\>wmic os get serialnumber SerialNumber 09203-891-5001202-52183 c:\>
by admin on January 29, 2012
How do I find out if my Windows 7 is 32-bit or 64-bit? There are multiple ways to find whether Windows 7 running on your computer is of 32-bit or of 64-bit. Using WMIC You can get to know the OS architecture by running the below simple command. wmic os get OSArchitecture Example: c:\>wmic os [...]
by admin on December 31, 2011
We can delete or backup event log files from command line using wmic commands. The wmic sub command for managing event log files is nteventlog. Below are the methods available with ‘wmic nteventlog‘ command. BackupEventlog ClearEventlog Backup event log files We can run the below command to backup a event log file. wmic nteventlog where [...]