Search found 3 matches
- 27 Mar 2021 10:05
- Forum: DOS Batch Forum
- Topic: Identify Java software installed.
- Replies: 5
- Views: 5338
Re: Identify Java software installed.
agreed with the points laid out...will code accordingly. in the meantime, found a one line code which uninstalled all JAVA installs in one line - and no coding was required. wmic product where "name like '%%Java%% Update%%'" call uninstall tested and it worked perfectly....but will work on develing ...
- 27 Mar 2021 07:58
- Forum: DOS Batch Forum
- Topic: Identify Java software installed.
- Replies: 5
- Views: 5338
Re: Identify Java software installed.
this did not work - gave error (For /F "Delims=" %%G in ('^ wmic product get description ^| findstr /lic: "java"^ )Do For %%O in (%%G)Do Echo(%%O ) >"remove_java.cmd" D:\JV>(For /F "Delims=" %G in (' wmic product get description | findstr /lic: "java" ) Do For %O in (%G) Do Echo(%O ) 1>"remove_java....
- 26 Mar 2021 18:00
- Forum: DOS Batch Forum
- Topic: Identify Java software installed.
- Replies: 5
- Views: 5338
Identify Java software installed.
Hello all - I hope someone can help me code this... objective is to identify all JAVA software installed so I can uninstall them from a host (using script) i have a text file output which i am generating in cmd prompt (bat file) wmic product get description | findstr /i java >remove_java.cmd problem...