Jump to content

Search the Community

Showing results for tags 'FILE_ATTRIBUTE_DIRECTORY'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I had a problem Freecom network drive (NAS) that was so slow that sometimes the directory entries were mispelt although the data was always OK. I transferred everything over to a Seagate NAS a very long time ago but I now notice I have a few ISO files (eg. filename.iso) that appear as folders not as the files which they are (and of course they don't open as folders which was tried anyway). A Google search says that I can only fix this programatically "by dealing with the File System Object" . These files are accessible from my windows PC and my UNIX PC but I'm thinking the advice is right and that I need to fix it by creating an AutoIt script to do it. I found this on this forum: https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_SetFileAttributes.htm and by following the "See Also" link http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(SetFileAttributes);k(DevLang-C);k(TargetOS-WINDOWS)&rd=true I found that there was a missing value that I think should have been on the _WinAPI_SetFileAttributes.htm for use in changing a file "mis-typed as a folder" back to a file again (understand from the remark section that it wouldn't work the other way around changing files into folders). FILE_ATTRIBUTE_DIRECTORY 0x10 Unfortunately I haven't found an example AutoIt script that may assist me in knowing how call _WinAPI_SetFileAttributes to use FILE_ATTRIBUTE_DIRECTORY to remove the directory bit off my files from their directory entries. Any ideas please?
×
×
  • Create New...