Last active
May 22, 2019 22:31
-
-
Save dbrant/c5465a21ad3146382447fee73a6990ee to your computer and use it in GitHub Desktop.
Windows Batch file for auto-extracting ARC archives into their own directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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