Batch writing variables to file not working -
i'm new batch , have code:
@echo off set var1 = line1 set var2 = line2 echo %var1% >output.txt echo %var2% >output.txt i found on google can use > send output text file. when @ text file file says line2. can 1 help.
echo whatever > file.txt overwrite file , place new content in it
echo whatever >> file.txt append file
Comments
Post a Comment