Search found 3 matches

by tomhafiz
11 Jul 2012 14:45
Forum: DOS Batch Forum
Topic: How to test for difference in output and then execute
Replies: 4
Views: 3693

Re: How to test for difference in output and then execute

Foxidrive, actually I already have the current build code and current VMwareTools etc. This exercise is to update any old builds of VMwareTools on workstations and I have tested the code and it works: @echo off set buildnew=8.8.2.10499 (build-590212) echo new build version is "%buildnew%" ...
by tomhafiz
11 Jul 2012 03:31
Forum: DOS Batch Forum
Topic: How to test for difference in output and then execute
Replies: 4
Views: 3693

Re: How to test for difference in output and then execute

Okay thanks foxidrive I get some output for that FOR loop:
"8.8.2.10499 (build-590212)"

But I can't figure out how to SET that FOR loop output as the 'buildold' variable?
I mean if I could set 'buildold' as a variable then I could compare it to the 'buildnew' variable.

Thanks
by tomhafiz
08 Jul 2012 15:19
Forum: DOS Batch Forum
Topic: How to test for difference in output and then execute
Replies: 4
Views: 3693

How to test for difference in output and then execute

Hello, I am trying to figure out how to run a command which will do a silent upgrade of VMWare Tools if and only if the version of VMWare Tools that is already installed is older than the one that it is being upgraded to. I basically figured I could do the silent upgrade if the VMWare Tools was diff...