Opened on Jul 17, 2012 at 8:16:51 PM
Closed on Jul 17, 2012 at 8:41:08 PM
Last modified on Aug 23, 2012 at 7:01:25 PM
#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 by , on Jul 17, 2012 at 8:41:08 PM
| Resolution: | → Works For Me |
|---|---|
| Status: | new → closed |
comment:2 by , on Aug 23, 2012 at 12:17:07 AM
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 by , on Aug 23, 2012 at 7:01:25 PM
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.

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.