Writing to NTFS alternate data streams on windows

This is a discussion on Writing to NTFS alternate data streams on windows within the Windows Programming forums, part of the Platform Specific Boards category; Hi All, I'm going to try write a progrm (in C obviously) that writes data into NTFS Alternate Data streams ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    1

    Question Writing to NTFS alternate data streams on windows

    Hi All,

    I'm going to try write a progrm (in C obviously) that writes data into NTFS Alternate Data streams
    (see Windows NTFS Alternate Data Streams | Symantec Connect Community and Practical Guide to Alternative Data Streams in NTFS )

    I'm doing this just for practice/for fun. I'm aware you can write through the command line.
    How can I write a program that will let me enter a bunch of text and put that text into the AltDS?

    I'm new to programming and C is the only language i've played with. I'm hoping this will teach me a bit about integrating with windows and low level disk access.

    I'm not after a program to be written for me. But i'm looking for some assistance, perhaps example code, or even just documentation on how to do this kind of stuff.

    If i'm in over my head. Let me know!

    Thanks!

  2. #2
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    611
    Quote Originally Posted by e3vil View Post
    How can I write a program that will let me enter a bunch of text and put that text into the AltDS?
    Are you currently able to do that for a regular file using fopen or std::fstream or CreateFile? It's exactly the same except you stick a colon and a ADS name at the end of the filename path.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. "Data Fork"/"Alternate Data Streams"
    By phantomotap in forum Tech Board
    Replies: 3
    Last Post: 08-06-2010, 11:01 AM
  2. alternate to string streams
    By MicroFiend in forum C++ Programming
    Replies: 9
    Last Post: 04-30-2008, 02:03 AM
  3. Writing to two streams: va_arg issues
    By dwks in forum C Programming
    Replies: 2
    Last Post: 09-26-2007, 10:14 AM
  4. alternate to string.data()
    By Eber Kain in forum C++ Programming
    Replies: 1
    Last Post: 06-07-2004, 12:59 PM
  5. Windows ntfs perms
    By wp_x in forum Tech Board
    Replies: 3
    Last Post: 03-04-2003, 05:38 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21