Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
:: <NAME> script
:: <DESCRIPTION>
:: Copyright © 2020 Bart³omiej Duda
:: License: GPL-3.0 License
:: Changelog:
:: Ver Date Name
:: v0.1 09.12.2020 Bartlomiej Duda
@ECHO OFF
echo <NAME> script by Bartlomiej Duda
echo Starting program...
echo.
echo.
setlocal enabledelayedexpansion
SET ra_directory="D:\some_path\some_folder"
SET extension=".ra" rem TODO
rem This is comment
echo Starting loop...
for /f "tokens=* delims=" %%a in ('dir %ra_directory%\*.ra /s /b') do (
set ra_filename=%%a
echo !ra_filename!
set out_filename=!ra_filename:~0,-3!
echo !out_filename!
".\DecompRA.exe" "!ra_filename!" "!out_filename!"
del "!ra_filename!"
echo.
)
pause