windows-nt/Source/XPSP1/NT/base/ntsetup/patching/bldtools/setlog.bat

17 lines
295 B
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
rem %1 = path of shortcut, ie, d:\patch\build\en
rem %2 = path of logs directory, ie, d:\patch\build\en\3.014\logs
if "%1"=="" goto :EOF
if "%2"=="" goto :EOF
setlocal
set shortcut="%1\Latest Logs.url"
echo [InternetShortcut] > %shortcut%
echo URL=file:///%2 >> %shortcut%
:finis
endlocal