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 Compact: Compress or decompress files and directories Convert: Convert FAT filesystem […]


Delete files from command line

by admin on August 5, 2015

This post explains how to delete files from command prompt on Windows computers. Before we start to look at the syntax of ‘del’, note that this command can delete only files, it can’t delete folders. Delete a file Run del command with the name of the file to be deleted, you are done! del filename […]


How to get date / time in batch file

by admin on May 18, 2015

This post explains how to get current date and time from command prompt or in a batch file. How to get date and time in a batch file Below is a sample batch script which gets current date and time Datetime.cmd @echo off for /F “tokens=2” %%i in (‘date /t’) do set mydate=%%i set mytime=%time% […]


The syntax of the command is incorrect

by admin on April 29, 2015

This is a common error we would encounter while working with windows command prompt. It means that there’s something wrong in the arguments passed on to the command. Reasons could be any of the below. Not passing the right parameters to the command. For example, Rmdir command expects the directory name to be provided. Not […]


‘Windows Search’ helps to find files, programs and emails easily on the computer. To use this, we just need to click on start button and start typing the search words in the search box. This feature is enabled by Windows Search service, which indexes the files on the computer for a faster search experience. If […]


Internet explorer version updates

by admin on October 18, 2014

We can find the version of the internet explorer using the following steps. Open internet explorer if not opened already Click Help menu(If menu bar is not displayed, you can press Alt-H). Click on ‘About Internet explorer’. This will open a small window displaying the version of internet explorer running on your windows computer./li> How […]


Run command for ‘Control panel’

by admin on March 1, 2014

We can open control panel by clicking Start button and then selecting control panel. But if you are of the type who do not want to use mouse and does most of the things with just keyboard, then you will find this command useful. Run command to open control panel is ‘control’.  So the quick […]



by admin on February 22, 2014

Forfiles is a useful windows command to select a set of files and then run a command on each of the files. It’s similar to the functionality of find command on Linux OS. The syntax of the forfiles is as follows. forfiles <Criteria to select files> /C “command to be applied on each of the […]


This tutorial explains how to move files or directories to another location on a Windows system. Move files to another directory move filename destinationFolder Example: to move file ‘data.docx’ to the folder ‘d:\backup\folder’ move  data.docx  d:\backup\folder\ You can also rename the file while moving it to the new location move data.docx  d:\backup\folder\newData.docx We can’t move […]


Windows 8 essential commands

by admin on October 12, 2013

System operation commands Reboot computer shutdown /r Shutdown computer shutdown /s Abort a shutdown/reboot operation issued from cmd shutdown /a Hibernate computer shutdown /h Logoff from current session logoff Directory commands Create a directory mkdir directoryName Delete a empty directory rmdir directoryName Delete directory and all its contents rmdir /S directoryName File commands Copy a […]


Take ownership of file or folder

October 2, 2013

In windows, some of the system files are protected by OS and can’t be accessed by users with even administrator privileges.  CSC cache stored in C:\Windows\CSC is one such folder. If you try to open the folder in windows explorer, you would be greeted with the window ‘You don’t currently have permission to access this […]

Read the full article →