I am trying to append the string "KB" to a file after having written the output from a windows command:
C:\Users\Administrator> wmic OS get FreePhysicalMemory > C:\temp\temp.txt
C:\Users\Administrator> echo KB >> C:\temp\temp.txt
but in notepad I see some strange oriental characters instead of KB
FreePhysicalMemory
1441960
䉋ഠ∊䉋•
I expect to see the text "FreePhysicalMemory 1441960 KB". If possible I would like to have KB after the number, not on a new line. Once I do this I will use the file with another program (InterSystems Caché) and place it in another html file, but that should not matter.