The WshShell type exposes the following members.

Constructors

  NameDescription
Public methodWshShell

Properties

  NameDescription
Public propertyArguments
Sets the Arguments for the shortcut
Public propertyDescription
Sets the Description. For CreateShortcut defaults to 'Launch [Name]'
Public propertyFilePath
Sets the FilePath
Public propertyIconLocation
Sets the IconLocation
Public propertyName
Sets the Name
Public propertyShortcutPath
Sets the ShortcutPath. For CreateShortcut defaults defaults to Desktop of the current user
Public propertyTaskAction (Overrides BaseTask..::..TaskAction.)
Public propertyWindowStyle
Sets the WindowStyle.

1 - Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position.

3 - Activates the window and displays it as a maximized window.

7 - Minimizes the window and activates the next top-level window.

Public propertyWorkingDirectory
Sets the WorkingDirectory

See Also