• Post Reply Bookmark Topic Watch Topic
  • New Topic

add text to file

 
dale conn
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i want to create a file e.g. test.txt and add text to it, then i want to save the file to c:\

can anyone lead me to an example or some code on how to do this as i've never done anything like this before

many thanks
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the Java Tutorial chapter on Input/Output
 
dale conn
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks

anyone wants basic example

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!