Rename folder with a .bat file
Solved
Alpachio
Posted messages
58
Status
Member
-
Alpachio Posted messages 58 Status Member -
Alpachio Posted messages 58 Status Member -
Hello,
I am looking to rename a folder "Mas Ist" to "Masu" with a .bat file
The command looks like this:
ren localhost\Mas Ist Masu
The problem is that the folder name "Mas Ist" has a space in it, and the MS-DOS command cannot rename it because it doesn't know if the first folder is called "Mas" or "Mas Ist"
I hope you understand!
Waiting for your responses...
I am looking to rename a folder "Mas Ist" to "Masu" with a .bat file
The command looks like this:
ren localhost\Mas Ist Masu
The problem is that the folder name "Mas Ist" has a space in it, and the MS-DOS command cannot rename it because it doesn't know if the first folder is called "Mas" or "Mas Ist"
I hope you understand!
Waiting for your responses...
Configuration: Windows XP Firefox 3.0.7
2 answers
-
Hi,
cd [directory path where the folder to be renamed is located]
ren "Mas Ist" "Masu"
and make sure to use the quotes ;)
--
"It's not us who walk crooked, it's the world that's going awry!"
- La Rue Ket' ;) -
Cool, thanks a lot!!!
I had everything right, it's just that I forgot the quotes in my .bat file!
Thanks again, see you later!