text - How do I make a batch file use code from a .txt file? -


i have main batch file of coding in it. want keep coding nicely organised want make main batch file read code off multiple .txt files , display code on window.

lets this:

if %test%==1 /f "delims=" %%a in (test.txt) (set text=%%a) echo %text%

this echos whole text inside .txt how make run code? how make main batch file echo specific lines of .txt file?

why dont save other scripts .bat , call them start script.bat. dont think there way read text file , execute writen text script. or try setting lile `set command = string here

call %%command%%`


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -