Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Rename an NTFS stream?

May
12,930
170
I thought I asked about this recently but I couldn't find such a discussion.

Can REN rename an NTFS alternate data stream? (COPY and DEL works.)

Code:
v:\test> d /:
2023-03-25  13:10               0  file.txt
                                5    stream1:$DATA

v:\test> ren file.txt:stream1 file.txt:stream1.txt
V:\test\file.txt:stream1 -> V:\test\file.txt:stream1.txt
TCC: (Sys) The parameter is incorrect.
 "V:\test\file.txt:stream1"
 
MOVE works.

Code:
v:\test> d /:
2023-03-25  13:10               0  file.txt
                                5    stream1:$DATA

v:\test> move file.txt:stream1 file.txt:stream1.txt
V:\test\file.txt:stream1 -> V:\test\file.txt:stream1.txt
     1 file moved

v:\test> d /:
2023-03-25  13:10               0  file.txt
                                5    stream1.txt:$DATA
 

Similar threads

Back
Top