It's not a secret anymore!*
The moose likes General Computing and the fly likes How to create a windows shortcut thourgh Java program? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » General Computing
Reply locked New topic
Author

How to create a windows shortcut thourgh Java program?

Janki Dani
Greenhorn

Joined: Apr 05, 2012
Posts: 8
Hi,

I need to create a batch file 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 Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2840
    
  11

You talk about batch files and shortcuts, so I'm guessing you're on a Windows computer, not a Mac. I'm not sure where Java comes into it though. Do you want a batch file or a Java program? I'll move this to General Computing for now.
Koen Aerts
Ranch Hand

Joined: Feb 07, 2012
Posts: 344

Please stop posting the same question in different threads. That's annoying and confusing.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38057
    
  22
Koen Aerts wrote:Please stop posting the same question in different threads. That's annoying and confusing.
Agree.

Since there appear to be more answers in the JiG thread, I shall close this thread.
 
Consider Paul's rocket mass heater.
 
subject: How to create a windows shortcut thourgh Java program?
 
Similar Threads
Writing to folders outside of a WAR file
Avoid Dialog box when downloading a file
updating files from one repository to another
JSP page will not compile to Servlet
Folders in Eclipse Java project