Alternate Data Stream Rename tool
strename <file name>[:<stream name>[:$DATA]] [:]<new stream name>[:$DATA]
strename <file name>[:<stream name>[:$DATA]] ::$DATA
file name:stream name Specifies the data stream to rename.
If no stream name is specified, the default data stream will rename.
:new stream name Specifies a new name for the data stream.
Must specify a data stream name with size 0 bytes or a data stream name that does not exist.
To promote an alternate data stream to the default data stream, specify "::$DATA".
- FILE_RENAME_INFORMATION structure (ntifs.h)
Rules for renaming data streams is here. - [MS-FSCC]: Appendix B: Product Behavior
There is one exception.
MIT License