#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 Changed 17 years ago by TicketCleanup
- Milestone 3.2.11.13 deleted
comment:2 Changed 16 years ago by Jon
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 Changed 16 years ago by Jon
- Milestone set to 3.2.13.1
- Owner set to Jon
- Resolution set to Fixed
- Status changed from new to closed
Fixed in version: 3.2.13.1
comment:4 Changed 16 years ago by Jon
- Resolution Fixed deleted
- Status changed from closed to reopened
comment:5 Changed 16 years ago by Jon
- Resolution set to No Bug
- Status changed from reopened to 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.
comment:6 Changed 16 years ago by TicketCleanup
- Milestone 3.2.13.1 deleted
Automatic ticket cleanup.
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.
Automatic ticket cleanup.