Rename Command in Windows Server 2008

In this article I am going to explain about rename command in windows server 2008 operating system.
  • 2159

Rename command in Windows Server 2008

The rename command is used to rename file or directories. 

Syntax of Rename command

rename [<Drive>] <Path> <filename1> <filename2>

Parameters in Rename command

It have two parameter:

Parameter Description
 [<Drive>] <Path> <filename1> It specifies the location of the file or set of files you want to rename.
<filename2> It specifies new name of the file.

Example of Rename command

rename Mcn_Solution.exe abc.exe

Output:

rename-in-windows-server-2008.jpg

Ask Your Question 


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

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.