Search found 1 match
- 23 Aug 2020 02:41
- Forum: DOS Batch Forum
- Topic: Output several lines of C# code to .cs file
- Replies: 1
- Views: 2357
Output several lines of C# code to .cs file
Hello everyone! I have this code: @echo off set "normalColor=f" set "errorColor=c" color %normalColor% set "fileNameInputMessage=Please enter non-empty program name (without extension):" set /p "name=%fileNameInputMessage%" :while_file_is_not_specified_or_exist if "%name%"=="" ( call :ShowError "fil...