Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


problem start a batch file remotely

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> problem start a batch file remotely
  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 start a batch file remotely - 6/19/2007 2:38:47 AM   
  dhantiflag

 

Posts: 3
Score: 0
Joined: 6/18/2007
Status: offline
im tryin to run a batch file for somebody that is on the network


this is the sub that i use to call the batch file on the remote machine.. it runs the file ok except that it doesnt run with a username...
so the problem is the batch file it is running is supposed to pull files off the network and copy them into a local directory but with no username it is unable to do so.


when i run this using my computername it runs as me, but any other 40 computers on the network it runs as Blank


      


here is the log of 1 of the remote PC's

      

here is my machine same script


      
 
 
Post #: 1
 
 RE: problem start a batch file remotely - 6/19/2007 2:44:43 AM   
  DiGiTAL.SkReAM


Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Examine the psexec tool, downloadable from MS.  Freeware, and does what you are wanting.

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to dhantiflag)
 
 
Post #: 2
 
 schedule a batch file to run in a remote machine - 5/15/2008 7:29:30 PM   
  Padhu

 

Posts: 1
Score: 0
Joined: 5/15/2008
Status: offline
Hi,
i had around 300 servers, i will copy the necessary files with a batch file which performs a tasks.i need to schedule the batch to run in remote machine at specified time. how to run a batch in a scheduled way

regards,
Padmanaban

(in reply to dhantiflag)
 
 
Post #: 3
 
 
 
  

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 start a batch file remotely 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