Closed brtchip-paul-jiao closed 2 years ago
python uf2conv4eve.py -l
wmic
See here: https://winaero.com/microsoft-removed-the-wmic-tool-from-windows-11-dev-builds/ https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmic
Now the script use PowerShell to get list drive.
If not found any drive, it try again with wmic\wmix.exe and wmic command.
python uf2conv4eve.py -l
fails on Win11 becausewmic
is removed by Microsoft. So we need adapt the code to other way.See here: https://winaero.com/microsoft-removed-the-wmic-tool-from-windows-11-dev-builds/ https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmic