VOGONS


ren from different drive

Topic actions

First post, by pavelkahle

User metadata
Rank Newbie
Rank
Newbie

Hello, It seems that ren (rename) is not working if I run it form different drive. Simple test :
I have file
c:\TEST\x.txt
I run on the prompt c: \> ren c:\TEST\x.txt x2.txt
I see that file was renamed c:\TEST\x2.txt
but if I do the same :
I have file c:\TEST\x.txt
except... run rename from prompt d: \> ren c:\TEST\x.txt x2.txt
I see that file was NOT renamed there is still x.txt in c:\TEST\x.txt
Any advice ?
Pavel

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

maybe?
d:\>ren c:\TEST\x.txt c:\TEST\x2.txt

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by pavelkahle

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

maybe?
d:\>ren c:\TEST\x.txt c:\TEST\x2.txt

also not working