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

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.
 

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

Top