2
I need to enable and disable a specific device (device manager) frequently, and doing it manually is very annoying. I believe that with a . bat file it is possible to enable/disable each time I run. I saw that it is possible with Devcon, but it is a lot of effort for little. I appreciate if anyone knows any solution.
I really liked this solution. But how would I make an IF to check whether the device is enabled or not? Have an example?
– hikoruKazuto
Devmanview does not offer this option, but you can check whether the device was disabled or batch-enabled earlier with an auxiliary file.
– Laércio Lopes