Friday, July 8, 2011

wmic “Invalid XSL format (or) file name.”

So on my windows 7 box trying to:
wmic product get /format:csv
produces a output:
Invalid XSL format (or) file name.

Located teh csv.xsl file in C:\windows\system32\wbem\en-US
Guessed that it was unable to locate the xsl format file...
so copied it to the local path and it worked !
Confirmed this with Process monitor :-(

It seems to be looking for the correct locale so I added a C:\windows\system32\wbem\en-US to C:\windows\system32\wbem\en-AU

since we all don't live in the US of A... :-|

Alternative options are:
I just copied to C:\windows\system32\wbem\en-US\*.xls to C:\windows\system32

Sunday, July 3, 2011

android dhcp loop

Sometime your android's wireless can get stuck in a dhcp address loop

>$ su
# cd /data/misc/dhcp
# rm dhcpd-wlan0.lease