| 1. |
Solve : File Title in MS-DOS? |
|
Answer» Hi all GREETING from Arul rajah I don't know any method of displaying the Title in MS-DOS or from the Command Prompt. This is a feature of Alternate Data Streams. Only possible in NT TYPE OSs on NTFS volumes. Yes, I played with ADS some time ago but decided it has no benefits for me, possibly as I've nothing worth "hiding" LOL For anyone interested in ADS there's a MOUNTAIN of info on the web and I recommend reading this article even though it's out-of-date. I'm not certain that all anti-virus/malware detection programs (especially the free ones) can pick up malicious routines 'hidden' in ADS. alternate data streams are a giant PITA to work with from a programmatic standpoint. MS decides, hey, let's add this feature, but let's NOT expose any sane API to work with it. Nope, instead we will force programmers to figure out for themselves they need to use BackupRead() to read the stream headers. yep, much more sane that way. Unbelievable that ADS's have existed since NT4, but it took MS three versions to introduce the slightly more sane Stream enumeration API. this has Piqued my interest for a feature of my BCFile library to enumerate streams...Quote from: BC_P this has Piqued my interest for a feature of my BCFile library to enumerate streams... Am glad you picked up on that, I now know to whom all ADS queries should be addressed heh, less then an hour later and the feature is added somewhat. Really my library is trying to REPLACE the FileSystemObject scripting objects, and enhance their features. Now to fix my FileStream class to expect a interface rather then a specific CFile, so that lines like this will be valid: Set AltStream = GetFile("C:\test.doc").AlternateStreams("HIDDEN").OpenAsBinaryStream(GENERIC_READ,FILE_SHARE_WRITE) |
|