I need to output some information about checking java.exe in a text file. Command line command
C:\Windows\System32\Java.exe > C:\Users|txt.txt outputs everything to the correct file.
When I try to add -version
C:\Windows\System32\Java.exe -version > C:\Users|txt.txt, the output text file remains blank.
Is there a way to get this in a txt file?
sealz source
share