Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save digitalfun/75a21bdc8204b369007496a5309bae39 to your computer and use it in GitHub Desktop.
Save digitalfun/75a21bdc8204b369007496a5309bae39 to your computer and use it in GitHub Desktop.
Start apps/tools etc on your USB stick from bat-files (using relative paths).
@echo off
echo start ...
set APP_PATH=apps\CustomHotkey
set APP_EXE=CustomHotkeys.exe
cd "%~d0\%APP_PATH%"
start "starting ..." "%~d0\%APP_PATH%\%APP_EXE%"
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment