After replacing command.com with 4dos.com in config.sys, executing
for /f "takons=1,2 delims= " %a in ('date/t') do echo %b
returns the result echo is off, meaning %b is empty. Originally, it was thought to be a string in the format of month-day-year. I originally wanted to set the variable date to the current date, but I didn't know how to achieve it. I looked at the help of 4dos, and such a for statement is supported.
for /f "takons=1,2 delims= " %a in ('date/t') do echo %b
returns the result echo is off, meaning %b is empty. Originally, it was thought to be a string in the format of month-day-year. I originally wanted to set the variable date to the current date, but I didn't know how to achieve it. I looked at the help of 4dos, and such a for statement is supported.
