File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2771
    
  10

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: 36478
    
  16
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a windows shortcut thourgh Java program?
 
Similar Threads
Folders in Eclipse Java project
Avoid Dialog box when downloading a file
updating files from one repository to another
JSP page will not compile to Servlet
Writing to folders outside of a WAR file