#1914 closed Feature Request (Rejected)
Error Codes for File operations
| Reported by: | GEOSoft | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Right now the returned value for a failure contains nothing of any meaningful value.
It would be nice if We could get an actual error returned using GetLastError()
Example
32 = "File In Use"
Attachments (0)
Change History (5)
comment:2 by , on May 22, 2011 at 11:16:28 PM
| Type: | Bug → Feature Request |
|---|
comment:4 by , on Aug 1, 2011 at 3:16:41 PM
Here are some MSDN links that may help you with this.
http://msdn.microsoft.com/en-us/library/ms680582(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms679351(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms679360(v=vs.85).aspx
comment:5 by , on May 23, 2012 at 10:31:39 AM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Internal implementation of these functions may or may not use APIs you suspect. Also implementation may change depending on whatever reason.
What I'm saying is that last error of GetLastError is not certain to be generated.

I forgot to mention that I am explicitly refering to FileCopy() and FileMove() here.