IShellLink::GetWorkingDirectory

Syntax:

GetWorkingDirectory (LPSTR pszDir, int cchMaxPath);

Parameters:

Description:

Gets the current working directory for the shortcut object. The working directory is copied into the string to which the pszDir parameter points. If the working directory is larger than the buffer provided, the string is truncated.