Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replaces the deprecated wmic command #1034

Merged
merged 1 commit into from
Dec 15, 2024
Merged

Conversation

dyphire
Copy link
Contributor

@dyphire dyphire commented Dec 14, 2024

The wmic disabled by default since Win11 24H2
image

@tomasklaen
Copy link
Owner

On Win10, the fsutil fsinfo drives command produces this output:

Drives: C:\ D:\ E:\ F:\ G:\

And with your serialization, this makes the first drive in the list be s:.

the wmic disabled by default since Win11 24H2
@dyphire
Copy link
Contributor Author

dyphire commented Dec 15, 2024

On Win10, the fsutil fsinfo drives command produces this output:

Drives: C:\ D:\ E:\ F:\ G:\

And with your serialization, this makes the first drive in the list be s:.

I was using a non-English system and missed it. Fixed.

@tomasklaen tomasklaen merged commit 7ad2ee4 into tomasklaen:main Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants