mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add batch files requested by Kludge
This commit is contained in:
4
SingleGame/Batches/SingleGameDir.bat
Normal file
4
SingleGame/Batches/SingleGameDir.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
REM Rename files
|
||||
for /r "%~1" %%A in (*.xml *.dat) do (
|
||||
..\SingleGame "%%~A"
|
||||
)
|
||||
4
SingleGame/Batches/SingleGameDir_NoRename.bat
Normal file
4
SingleGame/Batches/SingleGameDir_NoRename.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
REM Rename files with no renaming in mind
|
||||
for /r "%~1" %%A in (*.xml *.dat) do (
|
||||
..\SingleGame "%%~A" -n
|
||||
)
|
||||
6
SingleGame/Batches/SingleGameDir_WithRoot.bat
Normal file
6
SingleGame/Batches/SingleGameDir_WithRoot.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
REM Rename files with root directory in mind
|
||||
set rootdir=C:\
|
||||
|
||||
for /r "%~1" %%A in (*.xml *.dat) do (
|
||||
..\SingleGame "%%~A" -r=%rootdir%
|
||||
)
|
||||
@@ -48,6 +48,9 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="Batches\SingleGameDir.bat" />
|
||||
<None Include="Batches\SingleGameDir_NoRename.bat" />
|
||||
<None Include="Batches\SingleGameDir_WithRoot.bat" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SabreHelper\SabreHelper.csproj">
|
||||
|
||||
Reference in New Issue
Block a user