I was trying to make a config file to alter a programs behavior
when I created the file using this method. the file size was twice as large as the next method.
"UpdateDisable=1" > file.cfg "UpdateEnable=0" >> file.cfg
when I used this method, the file size was half as large as the first method
Add-Content file.cfg "UpdateDisable=1" Add-Content file.cfg "UpdateEnable=0"
the files seemed the same, but only the second file actually worked as it was supposed to(changed the update settings). Was this because of the difference in size or some other subtle difference in the file structure or how the file was created?