how do you add >nul to a variable... what im doing is im trying to save a variable that includes set Example=ping localhost -n 1 >nul but it completely disregards the >nul... I know that obviously I could do %Example% >nul but im trying to save the variable Example to another file so doing %Example% >nul will just get rid of that line... so how would I have ping localhost -n 1 >nul show up in the file?
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.