Could someone give me the
command to rename a directory
in ms-dos... thanks!
I forgot it!
Thanks!
Printable View
Could someone give me the
command to rename a directory
in ms-dos... thanks!
I forgot it!
Thanks!
In MS-DOS, type Rename /? and you will find out what you want there.
It's the move command
Move c:\renameme c:\ihavebeenrenamed
Just use the Rename command!!
eg, for a directory called VB use
RENAME VB NEWNAME
and to name it back again;
RENAME NEWNAME VB
Move command? I don't think so!
For those of use that don't read questions properly, lets have a little lesson.
Question:
Could someone give me the command to rename a directory
in ms-dos.
Operative phrase "rename a directory in MS_DOS"
Not rename it using VB, not using Windows Explorer but in MS-DOS.
Thanks Buzby for making my arse laugh :)
The RENAME or REN command in DOS could only rename files and not directories in the good ol' days of MS-DOS 6x, so the MOVE command was used instead.
Now it seems you can use REN to rename directories (folders) with later versions of MS-DOS (well it defintely works with the version of DOS that comes with NT4 - I've just tried it).
Ok, Ignore ALL of the top answers there!!! :D (apart from N*G*Evangelion's)
Type :
REN C:\OldName NewName
Can we put these non vb ones in the chit-chat forum next time please? ;)