#2232 closed Bug (Works For Me)
FileSetAttrib help file example - hardcrash
Reported by: | JFX | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.8.1 | Severity: | None |
Keywords: | Cc: |
Description
The help file example of FileSetAttrib with wildcards causes 0xc00000fd error, if used without admin rights.
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by trancexx
- Resolution set to Works For Me
- Status changed from new to closed
comment:2 Changed 12 years ago by anonymous
The example:
If Not FileSetAttrib("C:\*.bmp", "-R+A", 1) Then
MsgBox(4096, "Error", "Problem setting attributes.")
EndIf
also crashes for me, it seems to reach some directories, but will then crash.
comment:3 Changed 12 years ago by Valik
Why would you bother posting that you also experience a crash yet leave out all the important information? Also, I'm not really too on board with the idea of recursively changing the attributes on bitmap files on my entire C: drive so there's no way in hell any sane person should run your example code.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Your report misses all the info that you should have provided.
Even though help file examples for this function are catastrophic they don't error out in that manner for me.