Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Newbie: How to create a file ??????????????

 
ramesh damisetty
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am new to Java, I have a situation I want to create a file in one directroy with date in its name everytime I run this job..
I am able to have file name, but not able to create this file in my specific directory, would any one please help with some example....
Situation: Directory :e:\Reports
File Name: 010501report.txt
I am using Visual Age for Java for NT.
 
Peter Tran
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramesh,
I can "feed" you the answer or help you to fish...I'd rather help you fish.
Try out the JAVA I/O Tutorial.
Read the above tutorial. Try out the sample programs, and if you still have trouble, then post your code here and I'll give you a hand.
Good luck!
-Peter
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!