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 TicketCleanup, on May 24, 2008 at 10:00:05 PM

Milestone: 3.2.11.13

Automatic ticket cleanup.

comment:2 by Jon, on Jun 11, 2008 at 7:27:42 AM

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 Jon, on Jun 11, 2008 at 7:32:10 AM

Milestone: 3.2.13.1
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed in version: 3.2.13.1

comment:4 by Jon, on Jun 11, 2008 at 7:42:59 AM

Resolution: Fixed
Status: closedreopened

comment:5 by Jon, on Jun 11, 2008 at 7:43:27 AM

Resolution: No Bug
Status: reopenedclosed

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 by TicketCleanup, on Jun 11, 2008 at 8:00:34 AM

Milestone: 3.2.13.1

Automatic ticket cleanup.

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.