corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Windows Scripting (RSH) question


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Windows Scripting (RSH) question
Rob_Quads
Member

Registered: 29th Mar 01
Location: southampton
User status: Offline
28th Jul 10 at 13:37   View User's Profile U2U Member Reply With Quote

I have a script which needs to rsh into a remoate windows box. I want to run something like

rsh MyMachine -n "%MyFiles%\mytest.pl"

but.....I want %MyFiles% to resolve on the remote machine.

Any ideas. (Bar having a script which does it for you)
VrsTurbo
Premium Member

Registered: 8th Jun 10
User status: Offline
28th Jul 10 at 14:59   View Garage View User's Profile U2U Member Reply With Quote

What is %myfiles% whats the direct path?
Rob_Quads
Member

Registered: 29th Mar 01
Location: southampton
User status: Offline
28th Jul 10 at 16:41   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by VrsTurbo
What is %myfiles% whats the direct path?


myfiles is a windows environment variable pointing to the location of the script.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Pop Ups the_legend_of_yrag Geek Day 4 364
19th Nov 03 at 20:32
by the_legend_of_yrag
 
piccies of my car --Dave-- General Chat 15 1163
24th May 04 at 07:50
by --Dave--
 
look what came through the post today :-) Jas Geek Day 15 621
1st Dec 06 at 17:28
by aPk
 
VB Scripting With GPO's iceman Geek Day 4 372
1st Apr 09 at 20:32
by pow
 
OEM Licences/Installs...can i re-build? Aaron Geek Day 12 238
15th Jun 10 at 17:17
by Rob_Quads
 

Corsa Sport » Message Board » Off Day » Geek Day » Windows Scripting (RSH) question 29 database queries in 0.0089130 seconds