Xshell Forum

need to pass script to xshell AUTOMATIC

Last post: Monday, September 9, 2013 11:51 PM by Support, 3 reply

 
Friday, September 6, 2013 5:00 AM - simon

need to pass script to xshell AUTOMATIC

 
Dears,
1- I am making new app to automate some tasks for the users with C# I Need to call the xshell and pass the script to it as I don't need the user to get the script and run it from xshell by him self.

I can make that with NetTerm but I Like Xshell more. Kindly HELP

2- I need to make script the run some command once a day at 4.00 PM in working days Only any way you can help in that.

Program Ver. : Xshell 4
Sunday, September 8, 2013 5:57 PM - Support

Re: need to pass script to xshell AUTOMATIC

 
Requested feature #1 is not available in Xshell right now.

For 2, you should be able to use Windows scheduler. That allows you to run Xshell at certain time of the day. If you assign a script to a Xshell session (from the session properties), you can run a script automatically when Xshell opens.

---
Technical Support
Monday, September 9, 2013 5:40 AM - Simon

Re: need to pass script to xshell AUTOMATIC

 
I know that I can make the script Execute when the session start but like that I have to give the user the session and script too any way I can merge both in 1 file so the user can't take the script and don't make any modification.
IF NOT
any way I can make the user call the session it self and it run and call the script with out give it to the user as for exp:
\\10.10.10.10\\Session\\session1.xsh
and it run and execute the script AUTO
or maybe u can pass the session to the Xshell and it run it AutoMatic
Monday, September 9, 2013 11:51 PM - Support

Re: need to pass script to xshell AUTOMATIC

 
Thank you for the update.
Maybe you can use the Login Script feature. With it, you can assign a script file to run when the session starts. You can find this option under Session properties > Login Scripts.


---
Technical Support