IShellLink::SetPath

Syntax:

SetPath (LPCSTR pszFile);

Parameter:

Description:

Sets the current path of the shortcut object to the path specified by the pszFile parameter. For example, when an application creates a shortcut to a text file, STUFF.TXT, that resides in the C:\STUFF directory, the string passed to SetPath is C:\STUFF\STUFF.TXT.