How to make a program be able to run by double click it?

  • Thread starter Thread starter www
  • Start date Start date
W

www

Hi,

I have downloaded a telnet software, psftp.exe. If I just double click
it, it won't work. I need to provide the hostname, so at cmd command:
psftp.exe @hostname

Above works.

What modifications should I do so that I can just double click the icon
to run it? Thank you.

By the way, I have written a file "runFTP", which has one line:

psftp.exe @hostname

I made the file executable. Then, at cmd command or cygwin command, I
just need:

This way is better, but I still hope that I can double click the icon to
run it.
 
Back
Top