vbscript to connect to unc via ip to launch an app

I know that this has been addressed a million times...

Is there any script out there I can use to connect to unc via an ip address?  Once I get in thru the firewall I then need to launch an app ..for example... \\server\folder\app.exe

I hope as secure as possible...WMI or vpn??

but also less work intensive as I dont want clients to work hard to set up...

its for various windows OS..2000 , NT, vista, 7, etc

any way to use the script to launch an app on a desktop, of course server too...
LVL 10
GlobaLevelProgrammerAsked:
Who is Participating?
 
ZupremeConnect With a Mentor Commented:
Put this in a VBS file.

Dim oShell
Set oShell = WScript.CreateObject ("WScript.Shell")
oShell.run "\\UNCPathtoyourEXE.exe"
0
 
GlobaLevelProgrammerAuthor Commented:
im reaching outthrough the internet into a network...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.