Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet Explorer Favorites and FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00737093
Message ID:
00738976
Views:
15
Forgot. The above refers to the code kindly provided by Nadya Novonovsky

loShell = CREATEOBJECT("WScript.Shell")
pcFolderName =loShell.SpecialFolders("Favorites")
oFS = createobject("scripting.FileSystemObject")
oFolder = oFS.GetFolder(pcFolderName)
? oFolder.Files.Count
?oFolder.SubFolders.Count
** Files in Favorites
for each loFile in oFolder.Files
?loFile.Name
next

*** SubFolders in Favorites
for each loFolder in oFolder.SubFolders
?loFolder.Name
next
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform