I want to go from a “Batch File” to a VBScript to add to my HTA set of tools I’m creating.
My Batch File Code is:
start “” “C:\Program Files (x86)\VideoLAN\VLC\vlc.exe” –run-time=10 rtsp://10.10.12.105/rtsp/CAM6a.mp4
‘ –sout=”#duplicate{dst=display, dst=std{access=file,mux=mov,dst=”C:\Temp\CAM6a.mp4}” vlc://quit
And I want to convert this to a VBScript – My code so far is:
Set objShell = CreateObject(“Wscript.Shell”)
objshell.Run “” “C:\Program Files (x86)\VideoLAN\VLC\vlc.exe” & “” “rtsp://10.10.12.105/rtsp/CAM6.mp4”
MsgBox “You’re Streaming & Recording IP Address 10.10.12.105”
Also, your shell.Run line doesn’t look right, but if it doesn’t throw an error, who am I to judge?
How To Ask Questions The Smart Way