Question
April 7, 2008 at 01:42 PM
axel.reyes

copying a file to dynamic (version changing) directories

by axel.reyes . Updated 18 years, 3 months ago

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 discussion is locked

All Comments