About 9,550,000 results
Open links in new tab
  1. How to read file attributes in a directory? - Stack Overflow

    When looking for file attributes for all files in a directory, and you are using Python 3.5 or newer, use the os.scandir() function to get a directory listing with file attributes combined. This can …

  2. How to access a file's properties on Windows? - Stack Overflow

    Feb 24, 2009 · However, this code, based on the dump_info() function in pefile, is able to find those attributes, which include original filename, copyright, company name, and file and …

  3. How to remove a single Attribute (e.g. ReadOnly) from a File?

    Sep 13, 2011 · Let say, a file has the following attributes: ReadOnly, Hidden, Archived, System. How can I remove only one Attribute? (for example ReadOnly) If I use the following, it removes …

  4. How do I change a file's attribute using Powershell?

    30 I have a Powershell script that copies files from one location to another. Once the copy is complete I want to clear the Archive attribute on the files in the source location that have been …

  5. Azure OpenAI / Foundry: Vector Store File Attributes (Metadata) …

    Since Azure is not returning attributes yet, you can store the file_id and its attributes separately. Example: When you add a file to the Vector Store, also save file_id + attributes mapping …

  6. how to use powershell to copy file and retain original timestamp

    Feb 6, 2014 · I would like to copy some files or a folder of files from one file server to another. However, I want to keep the original timestamp and file attributes so that the newly copied files …

  7. ASP.NET web.config: configSource vs. file attributes

    Within an web.config -file in an ASP.NET-application some sections of config, like appSettings and connectionStrings, supports the attributes file and configSource. What is the difference …

  8. Using VBA to get extended file attributes - Stack Overflow

    Trying to use Excel VBA to capture all the file attributes from files on disk, including extended attributes. Was able to get it to loop through the files and capture the basic attributes (that com...

  9. CMD: How do I recursively remove the "Hidden"-Attribute of files …

    Aug 27, 2012 · You can't remove hidden without also removing system. You want: cd mydir attrib -H -S /D /S That will remove the hidden and system attributes from all the files/folders inside of …

  10. How to Remove ReadOnly Attribute on File Using PowerShell?

    May 21, 2009 · How can I remove the ReadOnly attribute on a file, using a PowerShell (version 1.0) script?