beim Anlegen des Icons wird der Explorer gleich aufgerufen

This commit is contained in:
2025-06-20 18:12:06 +02:00
parent a3e0a15b0e
commit ab06d46bc5
2 changed files with 4 additions and 6 deletions
+1 -2
View File
@@ -13,5 +13,4 @@ powershell -Command "(Get-Content getexdraw.bat) -replace '^.*setenv.bat$', 'cal
REM Icon anlegen
powershell -Command "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SHORTCUT%');$s.TargetPath='%TARGET%';$s.IconLocation='%ICON%';$s.Save()"
echo created in %INSTALL_DIR%
pause
explorer.exe %INSTALL_DIR%
+3 -4
View File
@@ -4,8 +4,7 @@ call setenv.bat
set SHORTCUT=%INSTALL_DIR%\create_cables.lnk
DEL getexdraw.bat
git checkout bin\getexdraw.bat
DEL %INSTALL_DIR%\create_cables.lnk
rmdir %INSTALL_DIR%
git checkout getexdraw.bat
DEL /Q %INSTALL_DIR%\create_cables.lnk
RD /Q %INSTALL_DIR%
pause