Unfortunately, no – at least not directly in run configurations.
The best you can do, afaik, is either to:
-
modify your script / program to run either with no args (reads
System.in) or with a filename argument (reads the file) -
make a wrapper script / program which acts in the manner above.
Hope this helps,
vikingsteve