27May/100
Simple Variable Substitution in BAT Files
From set command reference:
>> Environment variable substitution has been enhanced as follows:
>> %PATH:str1=str2%
For example you can change the backslashes to slashes in the URL parameter when you pass it to the Java file:
echo %resources.home:\=/%