Example

Example autSystem - Shell()

'This example starts notepad with the file c:\test.txt loaded
dim ProcessID
dim SysObj as object

set SysObj = CreateObject("ZIEWin.autSystem")
ProcessID = SysObj.shell "Notepad.exe","C:\test.txt"
If ProcessID > 0 then
	Msgbox "Notepad Started, ProcessID = " + ProcessID
Else
	Msgbox "Notepad not started"
End if