-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from MunasheDov/munashe-debugdraw
Munashe debugdraw
- Loading branch information
Showing
5 changed files
with
6,313 additions
and
32 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
echo Starting operation... | ||
|
||
set OUTPUT=newfile.txt | ||
set /a COUNT=0 | ||
set /a ERRORS=0 | ||
|
||
if exist "%OUTPUT%" ( | ||
echo Existing output file found. Deleting... | ||
del "%OUTPUT%" | ||
) | ||
|
||
for /r %%i in (*.cs) do ( | ||
echo Processing: "%%i" | ||
type "%%i" >> "%OUTPUT%" | ||
if errorlevel 1 ( | ||
echo Error processing "%%i". | ||
set /a ERRORS+=1 | ||
) else ( | ||
set /a COUNT+=1 | ||
) | ||
) | ||
|
||
echo Operation completed. | ||
echo Total files processed: %COUNT% | ||
if %ERRORS% gtr 0 ( | ||
echo There were %ERRORS% errors during the operation. | ||
) else ( | ||
echo No errors encountered. | ||
) | ||
pause |
Oops, something went wrong.