• Post Reply Bookmark Topic Watch Topic
  • New Topic

finding created date of a file  RSS feed

 
ajay tiwari
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
all i want to created date of a file
plz some one help me how we do that using java
 
Vijay Vaddem
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think we have any such method...

May be you need to use Runtime.exec method to run "dir" commmand
and ............... U know what im trying to say....

But its not the right way...

sorry..

Vijay
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
File.lastModified()
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!