Move Command In Windows Server 2008

This article describes the Move command in Windows Server 2008 operating system and syntax related with it.
  • 2594


Move command is used to move one or more files from one folder to another folder. The original file is deleted, and the new file may have the original name or it can have different name. Basic syntax for using this command is given below.


move [{y| /-y}] [<Source>] [<Target>]

Parameters of Move Command

Parameter Description
/y Suppress confirmation prompt.
/-y Enable confirmation prompt to confirm that you want to overwrite an existing destination file.
<Source> The path and name of the file or files to move. Source may include wildcards(? and *) but not destination.
<Target> The path and filename to move file (s) to.


Move file Report.txt which is in D: drive to a folder named department in D: drive.

move d:\Report.txt d:\department

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.