Thread: File Permissions

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    2

    File Permissions

    Hi everyone. I am a new member as of today. I have been researching online and using the MSDN library but have not found a way to change directory or file permissions in windows using VC++. Does anyone know of a link, have sample codes or is there already a posting on here that I can look at?


    Thanks

  2. #2
    Registered User
    Join Date
    Mar 2005
    Posts
    2
    Appearantly there is a Win32 API function called _chmod(lpszfilename, mode) that will do the job. thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems passing a file pointer to functions
    By smitchell in forum C Programming
    Replies: 4
    Last Post: 09-30-2008, 02:29 PM
  2. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  5. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM