Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Windows, I can drag and drop a file to a batch file to pass the filename. On Ubuntu 12.10, I can't drag and drop to an .sh file.

Opening terminal and running

./sh-file-name.sh file-name.txt

works, but it takes some time.

Is there any other way to send a filename easily?

share|improve this question

migrated from stackoverflow.com Jan 12 '13 at 13:46

This question came from our site for professional and enthusiast programmers.

If you are using gnome, you may want to check out

http://askubuntu.com/questions/52789/drag-and-drop-file-onto-script-in-nautilus

share|improve this answer
    
Can you please explain how this answers the question? – slhck Jan 12 '13 at 14:20
    
the question is very similar to the one asked by the user. fixed link. – sureshvv Jan 12 '13 at 16:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .