Modify

Opened 18 years ago

Closed 18 years ago

Last modified 3 years ago

#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, 18 years ago

Milestone: 3.2.11.13

Automatic ticket cleanup.

comment:2 by Jon, 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 Jon, 18 years ago

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

Fixed in version: 3.2.13.1

comment:4 by Jon, 18 years ago

Resolution: Fixed
Status: closedreopened

comment:5 by Jon, 18 years ago

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, 18 years ago

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.