Bashamega / Windows-cmd-extensions

Windows CMD Extensions is a user-friendly application that allows you to create and use custom commands in your Windows Command Prompt (CMD) without the need for coding.
https://bashamega.github.io/Windows-cmd-extensions/
MIT License
4 stars 10 forks source link

open list issue #19

Closed ritishab0209 closed 1 month ago

ritishab0209 commented 1 month ago

Fixed the necessary problems in the open.bat file

Bashamega commented 1 month ago

Please add a description of the changes you made. @ritishab0209

ritishab0209 commented 1 month ago

I added 2^>nul to the reg query commands, which suppresses errors if the registry key isn't found. Added a check to see if the variable is empty. Added a condition in the for loop to ensure only non-empty AppPath values are echoed

ritishab0209 commented 1 month ago

Actually i am not able to reproduce the same error, maybe this is happening because the applications are listed in different registry paths

ritishab0209 commented 1 month ago

Shall I look out for this path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall