|
-
Mar 12th, 2012, 07:37 AM
#1
Thread Starter
New Member
VB script to run mstsc and to fill in the servername
Hi guys,
I need some help. I need to write a Vbscript that starts MSTSC and fill in the box "SERVER1" and after press OK
I made the following code:
Dim WSHShell
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.RUN ("mstsc")
WScript.Quit
But this script starts only MSTSC. So now i am looking for a code to write SERVER1 in the box.
Thanks a lot
Last edited by Mozes; Mar 12th, 2012 at 09:52 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|