copying a file to dynamic (version changing) directories

By axel.reyes ·
I need to write a batch which copies one file to the latest version in the java install directory.

C:\program files\java\jre1.xx

Everytime Java updates it creates a new folder by it's version. (i.e. Jre1.6.0_01 , Jre1.6.0_02). I would like to then run a batch job which copies files over to either the latest version or all the version folders.

I tried using xcopy with wildcards but didn't work out for me. Any help or direction would be greatly appreciated.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums