Man I hate batch script some days. I actually got it working with my .bat file.
I had to use set vmvar=VMWare%% (double for the escape)
and then use SELECT * FROM inventory WHERE iSysman NOT LIKE ‘%vmvar%’;
Batch must’ve been trying to do something with the % originally, but once I had it placed in a variable it knew not to touch it. What a headache. >_<
Thanks for the help! I’ll have to look into php sometime when I’m not on a bit of a time crunch.