A removal of WMIC won't affect the functionality of the script. So, there's no reason for an update. Whenever WMIC isn't available on a computer, you would find this information at the very beginning of the output. That's all. Besides of that, Win 8.1 is still supported and we've plenty of users still running even older versions.
Steffen
Creating a script to gather PC information - to assist those asking for help
Moderator: DosItHelp
Re: Creating a script to gather PC information - to assist those asking for help
Aren't you using WMIC to determine the code page and assign that to the %ACP% variable? Aren't you then using that variable to determine things like the directory format?
Re: Creating a script to gather PC information - to assist those asking for help
In most cases I try to read registry values using REG QUERY first, and WMIC is just an alternative. In rare cases I try WMIC first, but there's a plan B using another command.
Steffen
Steffen