Code: Select all
@Echo Off
@For /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do @(
Set Day=%%A
Set Month=%%B
Set Year=%%D
Set All=%%D-%%B-%%C
)
set path=Z:\%ALL%/myprogram.exe
AdvancedInstaller.com /edit c:\RunMe\test.aip /AddFile APPDIR %path%
But when I put in the real path i.e. z:\2008-07-02\myprogram.exe in the command, it worked...
FOLLOW US
Get the latest news in Application Packaging