WshShell.SpecialFolders

[This is preliminary documentation and subject to change.]

The SpecialFolders property provides the WshSpecialFolders object for accessing Windows® shell folders such as the desktop folder, start menu folder, and personal document folder.

Syntax

WshShell.SpecialFolders = objWshSpecialFolders
 

Example

' This code fragment shows how to access the desktop folder
    Set WshShell = Wscript.CreateObject("Wscript.Shell")
    MsgBox "Your desktop is " & WshShell.SpecialFolders("Desktop")

See Also

WshSpecialFolders object

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.