Open FILE INPUT STREAM

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
samarth13
Posts: 1
Joined: Thu Dec 11, 2003 10:31 pm

Open FILE INPUT STREAM

Post by samarth13 »

Hi.. i was lookin through the forums and cudn't find any answers on this..

i have a java program that takes in a text file as a command line arguement.. i wasn't sure where to specify this?

i tried the thing under preferences where u cud check the box to add command line arguements, but it comes w/a dollar sign and i tried specifying the file name after that.. and it didn't work..

any ideas on how i cud specify the file name as a command line arguement??

thx a lot..
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

Run your program from command line promt:
java myProg InputFile
HTH
Then I open up and see
the person fumbling here is me
a different way to be
Post Reply