IWshCollection_Class | Description |
Property length As Long | |
Function _NewEnum As Unknown | |
Function Count As Long | |
Function Item(Index) |
IWshEnvironment_Class | Description |
Property Item(ByVal Name As String) As String | |
Property length As Long | |
Sub Remove(ByVal Name As String) | |
Function _NewEnum As Unknown | |
Function Count As Long |
IWshNetwork | Description |
Property ComputerName As String | |
Property Organization As String | (undocumented) |
Property Site As String | (undocumented) |
Property UserDomain As String | |
Property UserName As String | |
Property UserProfile As String | (undocumented) |
Sub AddPrinterConnection(ByVal LocalName As String, ByVal RemoteName As String, [UpdateProfile], [UserName], [Password]) | |
Sub MapNetworkDrive(ByVal LocalName As String, ByVal RemoteName As String, [UpdateProfile], [UserName], [Password]) | |
Sub RemoveNetworkDrive(ByVal Name As String, [Force], [UpdateProfile]) | |
Sub RemovePrinterConnection(ByVal Name As String, [Force], [UpdateProfile]) | |
Sub SetDefaultPrinter(ByVal Name As String) | |
Function EnumNetworkDrives As IWshCollection | |
Function EnumPrinterConnections As IWshCollection |
IWshNetwork_Class | Description |
Property ComputerName As String | |
Property Organization As String | (undocumented) |
Property Site As String | (undocumented) |
Property UserDomain As String | |
Property UserName As String | |
Property UserProfile As String | (undocumented) |
Sub AddPrinterConnection(ByVal LocalName As String, ByVal RemoteName As String, [UpdateProfile], [UserName], [Password]) | |
Sub AddWindowsPrinterConnection(ByVal PrinterName As String, ByVal DriverName As String, [ByVal Port As String"LPT1"]) | |
Sub MapNetworkDrive(ByVal LocalName As String, ByVal RemoteName As String, [UpdateProfile], [UserName], [Password]) | |
Sub RemoveNetworkDrive(ByVal Name As String, [Force], [UpdateProfile]) | |
Sub RemovePrinterConnection(ByVal Name As String, [Force], [UpdateProfile]) | |
Sub SetDefaultPrinter(ByVal Name As String) | |
Function EnumNetworkDrives As IWshCollection | |
Function EnumPrinterConnections As IWshCollection |
IWshShell | Description |
Property Environment([Type]) As IWshEnvironment | |
Property SpecialFolders As IWshCollection | |
Sub RegDelete(ByVal Name As String) | |
Sub RegWrite(ByVal Name As String, Value, [Type]) | |
Function CreateShortcut(ByVal PathLink As String) As Object | |
Function ExpandEnvironmentStrings(ByVal Src As String) As String | |
Function Popup(ByVal Text As String, [SecondsToWait], [Title], [Type]) As Long | |
Function RegRead(ByVal Name As String) | |
Function Run(ByVal Command As String, [WindowStyle], [WaitOnReturn]) As Long |
IWshShell_Class | Description |
Property CurrentDirectory As String | |
Property Environment([Type]) As IWshEnvironment | |
Property SpecialFolders As IWshCollection | |
Sub RegDelete(ByVal Name As String) | |
Sub RegWrite(ByVal Name As String, Value, [Type]) | |
Sub SendKeys(ByVal Keys As String, [Wait]) | |
Function AppActivate(App, [Wait]) As Boolean | |
Function CreateShortcut(ByVal PathLink As String) As Object | |
Function Exec(ByVal Command As String) As IWshExec | |
Function ExpandEnvironmentStrings(ByVal Src As String) As String | |
Function LogEvent(Type, ByVal Message As String, ByVal Target As String) As Boolean | |
Function Popup(ByVal Text As String, [SecondsToWait], [Title], [Type]) As Long | |
Function RegRead(ByVal Name As String) | |
Function Run(ByVal Command As String, [WindowStyle], [WaitOnReturn]) As Long |
IWshShell2 | Description |
Property Environment([Type]) As IWshEnvironment | |
Property SpecialFolders As IWshCollection | |
Sub RegDelete(ByVal Name As String) | |
Sub RegWrite(ByVal Name As String, Value, [Type]) | |
Sub SendKeys(ByVal Keys As String, [Wait]) | |
Function AppActivate(App, [Wait]) As Boolean | |
Function CreateShortcut(ByVal PathLink As String) As Object | |
Function ExpandEnvironmentStrings(ByVal Src As String) As String | |
Function LogEvent(Type, ByVal Message As String, ByVal Target As String) As Boolean | |
Function Popup(ByVal Text As String, [SecondsToWait], [Title], [Type]) As Long | |
Function RegRead(ByVal Name As String) | |
Function Run(ByVal Command As String, [WindowStyle], [WaitOnReturn]) As Long |
IWshShortcut_Class | Description |
Property Arguments As String | |
Property Description As String | |
Property FullName As String | |
Property Hotkey As String | |
Property IconLocation As String | |
Property RelativePath As String | |
Property TargetPath As String | |
Property WindowStyle As Long | |
Property WorkingDirectory As String | |
Sub Load(ByVal PathLink As String) | (undocumented) |
Sub Save |
IWshURLShortcut_Class | Description |
Property FullName As String | |
Property TargetPath As String | |
Sub Load(ByVal PathLink As String) | (undocumented) |
Sub Save |
SpecialFolderConst | Description |
Const SystemFolder = 1 | |
Const TemporaryFolder = 2 | |
Const WindowsFolder = 0 |
StandardStreamTypes | Description |
Const StdErr = 2 | |
Const StdIn = 0 | |
Const StdOut = 1 |
TextStream | Description |
Property AtEndOfLine As Boolean | |
Property AtEndOfStream As Boolean | |
Property Column As Long | |
Property Line As Long | |
Sub Close | |
Sub Skip(ByVal Characters As Long) | |
Sub SkipLine | |
Sub Write(ByVal Text As String) | |
Sub WriteBlankLines(ByVal Lines As Long) | |
Sub WriteLine([ByVal Text As String]) | |
Function Read(ByVal Characters As Long) As String | |
Function ReadAll As String | |
Function ReadLine As String |
Tristate | Description |
Const TristateFalse = 0 | |
Const TristateMixed = -2 (&HFFFFFFFE) | |
Const TristateTrue = -1 (&HFFFFFFFF) | |
Const TristateUseDefault = -2 (&HFFFFFFFE) |
WshCollection | Description |
Property length As Long | |
Function _NewEnum As Unknown | |
Function Count As Long | |
Function Item(Index) |
WshEnvironment | Description |
Property Item(ByVal Name As String) As String | |
Property length As Long | |
Sub Remove(ByVal Name As String) | |
Function _NewEnum As Unknown | |
Function Count As Long |
WshExec | Description |
Property ExitCode As Long | |
Property ProcessID As Long | |
Property Status As __MIDL___MIDL_itf_iwshom_0111_0001 | |
Property StdErr As ITextStream | |
Property StdIn As ITextStream | |
Property StdOut As ITextStream | |
Sub Terminate |
WshExecStatus | Description |
Const WshFailed = 2 | |
Const WshFinished = 1 | |
Const WshRunning = 0 |
WshNetwork | Description |
Property ComputerName As String | |
Property Organization As String | (undocumented) |
Property Site As String | (undocumented) |
Property UserDomain As String | |
Property UserName As String | |
Property UserProfile As String | (undocumented) |
Sub AddPrinterConnection(ByVal LocalName As String, ByVal RemoteName As String, [UpdateProfile], [UserName], [Password]) | |
Sub AddWindowsPrinterConnection(ByVal PrinterName As String, ByVal DriverName As String, [ByVal Port As String"LPT1"]) | |
Sub MapNetworkDrive(ByVal LocalName As String, ByVal RemoteName As String, [UpdateProfile], [UserName], [Password]) | |
Sub RemoveNetworkDrive(ByVal Name As String, [Force], [UpdateProfile]) | |
Sub RemovePrinterConnection(ByVal Name As String, [Force], [UpdateProfile]) | |
Sub SetDefaultPrinter(ByVal Name As String) | |
Function EnumNetworkDrives As IWshCollection | |
Function EnumPrinterConnections As IWshCollection |
WshShell | Description |
Property CurrentDirectory As String | |
Property Environment([Type]) As IWshEnvironment | |
Property SpecialFolders As IWshCollection | |
Sub RegDelete(ByVal Name As String) | |
Sub RegWrite(ByVal Name As String, Value, [Type]) | |
Sub SendKeys(ByVal Keys As String, [Wait]) | |
Function AppActivate(App, [Wait]) As Boolean | |
Function CreateShortcut(ByVal PathLink As String) As Object | |
Function Exec(ByVal Command As String) As IWshExec | |
Function ExpandEnvironmentStrings(ByVal Src As String) As String | |
Function LogEvent(Type, ByVal Message As String, ByVal Target As String) As Boolean | |
Function Popup(ByVal Text As String, [SecondsToWait], [Title], [Type]) As Long | |
Function RegRead(ByVal Name As String) | |
Function Run(ByVal Command As String, [WindowStyle], [WaitOnReturn]) As Long |
WshShortcut | Description |
Property Arguments As String | |
Property Description As String | |
Property FullName As String | |
Property Hotkey As String | |
Property IconLocation As String | |
Property RelativePath As String | |
Property TargetPath As String | |
Property WindowStyle As Long | |
Property WorkingDirectory As String | |
Sub Load(ByVal PathLink As String) | (undocumented) |
Sub Save |
WshURLShortcut | Description |
Property FullName As String | |
Property TargetPath As String | |
Sub Load(ByVal PathLink As String) | (undocumented) |
Sub Save |
WshWindowStyle | Description |
Const WshHide = 0 | |
Const WshMaximizedFocus = 3 | |
Const WshMinimizedFocus = 2 | |
Const WshMinimizedNoFocus = 6 | |
Const WshNormalFocus = 1 | |
Const WshNormalNoFocus = 4 |