It would be nice to edit/view an NTFS alternate stream on files and folders. In case you didn't know, these streams are accessible with the following syntax:
c:\dir:streamname
c:\dir\file.ext:streamname
Done: HxD: Allow editing of NTFS file stream
How is this functionality accessed?
In the Open File Dialog, I tried the following and none worked. All told me that it was an invalid path.
file.ext:$DATA
c:\fullpath\file.ext:$DATA
"c:\fullpath\file.ext":$DATA
Any ideas?
FYI, the top one I tried should be equivalent to just file.ext since $DATA is the main data stream.
In the Open File Dialog, I tried the following and none worked. All told me that it was an invalid path.
file.ext:$DATA
c:\fullpath\file.ext:$DATA
"c:\fullpath\file.ext":$DATA
Any ideas?
FYI, the top one I tried should be equivalent to just file.ext since $DATA is the main data stream.
Opening ADS through the open dialog doesn't work as it considers it an invalid filename (I'll change that).
Though using the commandline HxD correctly opens alternate data streams, try the following (assuming you are in the directory where HxD is installed):
echo Hello > c:\test.txt:name123
more < c:\test.txt:name123
hxd c:\test.txt:name123
However file.ext:$DATA does not work, but also not with other utils like "more", try this:
more < c:\test.txt:$DATA
Though using the commandline HxD correctly opens alternate data streams, try the following (assuming you are in the directory where HxD is installed):
echo Hello > c:\test.txt:name123
more < c:\test.txt:name123
hxd c:\test.txt:name123
However file.ext:$DATA does not work, but also not with other utils like "more", try this:
more < c:\test.txt:$DATA
Hi again,
[edit]
In general the syntax is
filename:streamname:streamtype
So for the above example streamname is the empty string and streamtype is $DATA.
That means the above example needs two colons to work:
c:\fullpath\file.ext::$DATA
"c:\fullpath\file.ext"::$DATA
[/edit]
In my development version I modified the open and save-dialogs such that you can enter filenames with ADS syntax, but all checking (like file exists ) still works. To keep the normal functioning of the open/save dialogs while accepting ADS syntax was quite a challenge, since the dialogs weren't designed for that, but now it works.
If you want to test, here is my development version (in German):
http://mh-nexus.de/downloads/HxD.zip
Naturally the stable version will be available in English, too.
Edit: Corrected the comments about the ADS syntax.
[edit]
In general the syntax is
filename:streamname:streamtype
So for the above example streamname is the empty string and streamtype is $DATA.
That means the above example needs two colons to work:
c:\fullpath\file.ext::$DATA
"c:\fullpath\file.ext"::$DATA
[/edit]
In my development version I modified the open and save-dialogs such that you can enter filenames with ADS syntax, but all checking (like file exists ) still works. To keep the normal functioning of the open/save dialogs while accepting ADS syntax was quite a challenge, since the dialogs weren't designed for that, but now it works.
If you want to test, here is my development version (in German):
http://mh-nexus.de/downloads/HxD.zip
Naturally the stable version will be available in English, too.
Edit: Corrected the comments about the ADS syntax.
Re: Done: HxD: Allow editing of NTFS file stream
The upcoming 1.7.6.4 will remove ADS support in the open dialog since it caused some bugs. You will still be able to open them using the command line, and probably later using some additional command specially made for ADS, which will be independent of the open dialog.