Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Problem with run script remotley on another workstation

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,60229
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Problem with run script remotley on another workstation
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Problem with run script remotley on another workstation - 5/14/2008 11:30:41 PM   
  qbaton

 

Posts: 1
Score: 0
Joined: 5/14/2008
Status: offline
Hello, I have problem with run by one script another on other station doing this remotley.
For example I run "start.vbs" no my workstation and this script should run "something.vbs" on anoter workstation.
My scripts look like that (these are only examlpes)
start.vbs
Set WShell = CreateObject("WScript.Shell")
strComputer = "" ' here is station name where something.vbs should be runned
WShell.Run "\\" & strComputer & "\c$\something.vbs"

something.vbs
Set WShell = CreateObject("WScript.Shell")
WShell.Popup "hello"

I would like to add that I run "start.vbs" like an admin in domain.
 
 
Post #: 1
 
 RE: Problem with run script remotley on another worksta... - 5/15/2008 12:09:11 AM   
  ebgreen


Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
Search for remote scripting. There are several security issues to consider.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to qbaton)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Problem with run script remotley on another workstation Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts