UncleCoder.com

UncleCoder.com

Free programming examples and instructions

Dos Command to rename file

Dos command for how to rename a file or a directory

by Athil


Posted on 02 Jul 2017 Category: DOS Views: 209

Edited on 02 Jul 2017



Hi, Here I am going to show how to rename a file or a folder in the current directory. 

REN 

RENAME 

are both commands that have same meanings used to rename a folder(directory or file ).

Syntax

REN <old-filename> <new-filename>

Example 

ren abc.txt xyz.txt 

Image before name file.

 

Image after rename file.

 



Leave a Comment:


Advertisement