Bookmark Topic Watch Topic
  • New Topic

Need to create a batch file using java  RSS feed

 
Janki Dani
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I need to create a batch file using java program which can perform following actions.

Copied directories and sub directories from source folder older than 10 days to destination folders.
Delete copied directories from source folder and create short cuts for that in source folder.

Any help would be appreciated.

Many thanks
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Report post to moderator
When you say "batch file" people are likely to think a *.bat file that would be run by the host operating system, in this case a console or cmd window in a Windows environment. Combining that idea with a Java program is a bit confusing. I suspect that's not what you mean at all, but could you please clarify what program will actually do what you've described.
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a duplicate thread. Please post only once.
 
Janki Dani
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Greg,

Thanks for your reply.

Basically I have a requirement to move some directories form source folder to destination folder every 10 days and create a short cut in the source folder.

I am just wandering if I can do that using java.

Thanks.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Janki Dani, please UseOneThreadPerQuestion.(⇐click)

I am closing this thread. Please continue the discussion in your other thread: http://www.coderanch.com/t/572628/java/java/create-batch-file-java-program
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!