Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Location
    Baton Rouge, LA
    Posts
    65

    How to make an EJECT button!

    I would like to make an automatic EJECT button to do the follow:

    1. when click on "EJECT" load putty and ssh to 10.x.x.x
    2. enter username/password automatically (embedded)
    3. execute these commands from the unix prompt:
    prompt:>cd /var/test
    prompt:>eject
    prompt:>exit
    Attached Files

  2. #2
    Join Date
    Apr 2007
    Location
    Suffolk, UK
    Posts
    176
    couldnt you do that with a BAT file? otherwise, i think there is a dll or something that allowed you to do something like that.

  3. #3
    Join Date
    Dec 2007
    Location
    Baton Rouge, LA
    Posts
    65
    On the "EJECT" button. I have this command line under Quick action.

    File to run:
    AutoPlay\\Docs\\putty.exe

    Command line arguments:
    -ssh -l test -pw test 10.2.1.29

    This will take me to the prompt:
    How do I automate the next step to type these command below

    prompt:> cd /var/test <enter>
    prompt:>eject <enter>
    prompt:>exit <enter>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts