Skip to content

VBMAN.Cmd - Command Line Operation Object

Overview

VBMAN.Cmd provides command line operation functionality.

Note

This class is currently not implemented and is only retained as a placeholder. To execute command line operations, please use VB6's built-in Shell function or the WScript.Shell object.

Alternative Solution

vb
' Using Shell function
Dim result As Double
result = Shell("notepad.exe", vbNormalFocus)

' Using WScript.Shell
Dim ws As Object
Set ws = CreateObject("WScript.Shell")
ws.Run "cmd /c dir", 0, True

VB6 and LOGO copyright of Microsoft Corporation