Create 4 text -files, rename with File_1,File_2,File_3,File_4 write inside of each Test = 1,2,3,4
set /A Loop=0
set /A Loop=%Loop%+1
echo Test%loop% > %~dp0\File_%loop%.txt
if %Loop% EQU 4 goto End
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.