Skip to content

Instantly share code, notes, and snippets.

@dbrant
Last active May 22, 2019 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrant/c5465a21ad3146382447fee73a6990ee to your computer and use it in GitHub Desktop.
Save dbrant/c5465a21ad3146382447fee73a6990ee to your computer and use it in GitHub Desktop.
Windows Batch file for auto-extracting ARC archives into their own directory.
REM You can put this batch file on your Desktop, and drag-and-drop ARC files into it!
REM It will automatically create a folder with the same name as the ARC file, extract the files into it, and delete the original ARC file.
mkdir "%~p1\%~n1"
move %1 "%~p1\%~n1"
cd "%~p1\%~n1"
E:\cygwin\bin\arc.exe x "%~p1\%~n1\%~n1.arc"
del "%~p1\%~n1\%~n1.arc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment