Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find the full path of a specific folder
Message
From
11/05/2002 10:46:13
 
 
To
11/05/2002 10:07:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00655362
Message ID:
00655378
Views:
19
Oh! I just realized you asked about Quick Launch TaskBar not the Desktop. Disregard my answer then.

I seem to recall Bela Bodecs had an FLL for that, but I never used it.
http://www.bbcontrols.com/



>>most of vfp functions are used to find a file, file's full path but never the full path of a specific folder.
>>i'm trying to creat a shortcut on the quick launch taskbar. so i would like to find the "quick launch" folder to perform that operation.
>>how can i do it?

>
>You can try using WSH:
>
>oWsh = CreateObject("WScript.Shell")
>cDesktopDir = oWsh.SpecialFolders("Desktop")
>oLnk = oWsh.CreateShortcut(cDesktopDir + "\\Shortcut to Notepad.lnk")
>oLnk.TargetPath = oWsh.ExpandEnvironmentStrings("%windir%") + "\notepad.exe"
>oLnk.Save()
>


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform