Hiding a file?

This is a discussion on Hiding a file? within the Windows Programming forums, part of the Platform Specific Boards category; I did a board search but couldn't find anything on making a file hidden. Please help....

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220

    Hiding a file?

    I did a board search but couldn't find anything on making a file hidden. Please help.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    http://www.cprogramming.com/cboard/s...?threadid=9182

    Is a discussion of changing file attributes (once you've grabbed the file) from last week or so that might be of some use to you.

    (I only just remembered about it...)

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    yeah that worked thanks.

    Code:
    SetFileAttributes("c:\\filename.fil", FILE_ATTRIBUTE_HIDDEN);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 09:19 PM
  3. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 11:12 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM

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