Creating a automated script

Z

Zayd Connor

I wanted to create a small automated script using Ruby. I just need to
know what classes do I use to create this script.
When running my script I would like for itto do the following

1. Automatically Log user onto another machine via RDP

2. While logged in the session I want the script to automatically create
an iteration of files and folders, rename, change attribute of
files\folders.

3. Log off then log back on another user via RDP again, repeating step
2.

I would just like to know what classes do I use to create this script? I
know the File class could be one.

Thanks
 
M

Mark Thomas

RDP is a proprietary Microsoft protocol used for Terminal Services
(i.e. remote GUI). I don't know much about it, but I'm pretty sure
this does not allow you to automate the execution of scripts on remote
machines. You may want to look into Net::SSH.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top