VDS

Feb 16 2019

Windows batch file: set output of program to a variable? Windows XP

#windows #xp #source #code # Windows batch file: set output of program to a variable? Here is another example I wrote using FOR statements that will not require you to output anything to a text file first. This is important if you are working in areas where you might not have write access. I also noticed that you sometimes need to remove spaces like from the Date /T or Ver commands which return something like “Tue 06/20/2009” or “Microsoft Windows Version [6.0.6001]” into separate variables. ; Clear the screen and turn echo off (above) to keep it cleanCLS ; Clear …