I have built a exefile and put its shortcut.lnk into my work dir(the dir is a variable). I startup the app using the shortcut and how can I get the current dir ( it may be in anywhere)?
Thanks for your reply. I can get the exefile's parent dir, but I don't know the path of the exefile's shortcut.lnk, the place of shortcut.lnk is uncertain.