Modify ↓
#314 closed Bug (No Bug)
FileCreateShortcut cannot create for non-existing Universal Naming Path
| Reported by: | anonymous | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.2.12.0 | Severity: | None |
| Keywords: | shortcut UNP invalid target | Cc: |
Description
FileCreateShortcut ( "\\NonExisting\Install","Install.lnk","","","Install","","","","")
hangs, or creates a disfunctional result
"
NonExisting\Install" does not exist or cannot be reached at the instant of shortcut creation
Attachments (0)
Change History (6)
comment:1 by , 18 years ago
| Milestone: | 3.2.11.13 |
|---|
comment:2 by , 18 years ago
For a non existing unc path there will be a short hang (10-15 secs here) which is normal when requesting invalid UNC paths even in the explorer. The return code will be fixed though.
comment:3 by , 18 years ago
| Milestone: | → 3.2.13.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: 3.2.13.1
comment:4 by , 18 years ago
| Resolution: | Fixed |
|---|---|
| Status: | closed → reopened |
comment:5 by , 18 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | reopened → closed |
Actually no. It's allowed to create shortcuts to non-exist unc paths (pre-creating future shortcuts). You need to do a manual FileExists() check prior to calling if you need to be sure the location exists.
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.