0

I have created myself a bat file to log into putty but my question is how would I go about adding a command to the bat file so something like this I have already:

start [C:\Users\Public\Downloads\putty.exe] -ssh IP -l username -pw password

so that logs me in automatically on putty but what I need is for it to log me in and then run the command top straight away. Yes, I know it's lazy, but was wondering if it can be done?

demongolem
  • 9,474
  • 36
  • 90
  • 105

0 Answers0