General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only