View Full Version : Exexecuting a windows command on a users computer

08-16-2004, 10:39 PM
Is there any way to execute dos commands on a users computer? I am trying to print data from a web based application to a receipt printer with only 40 characters per line and don't want to output the standard printout from MSIE. I know this sounds like a bad idea in theory for most users, but in this case it might be a necessity.

08-17-2004, 02:13 AM
Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.exec("notepad.exe")

Users will see a message saying something about ActiveX...