jQuery in Action, 3rd edition
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 Building Microservices this week in the Design 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: 2931
    
  12

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: 44041
    
  33
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.
 
Have you checked out Aspose?
 
subject: How to create a windows shortcut thourgh Java program?
 
It's not a secret anymore!