my dog learned polymorphism*
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


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: 2853
    
  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: 39053
    
  23
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.
 
GeeCON Prague 2014
 
subject: How to create a windows shortcut thourgh Java program?