Dear Michie_,
Welcome to the Microsoft Community
Thank you for reaching out with your Command Prompt error. I understand the frustration you are experiencing, and I'd be happy to assist you in resolving this issue.
The error message you are encountering, "'$' is not recognized as an internal or external command" indicates that the command prompt does not recognize the ′$ ' character as a valid command. The '$' character is commonly used in Unix-based shells, such as Bash, to denote variables, but it is not typically used in Windows Command Prompt.
If you’re trying to import and authenticate a signing key, you should be able to just remove the $ from the start of the command. For example, if your command looks something like this:
$ gpg --import ./mykey.gpg
You should be able to run it in Command Prompt like this:
gpg --import ./mykey.gpg
If the command you are trying to use specifically requires the '$' character at the beginning, it's possible that the command is intended for a Unix-based shell rather than Windows Command Prompt.
If you could provide more details about the specific command you are attempting to run, including the context in which you are using it and the tool you are using, I would be better able to assist you in finding a solution.
In the meantime, if you are encountering difficulties with a specific tool or utility, I recommend reviewing the documentation or support resources for that tool to ensure that you are using the correct syntax and the appropriate environment for running the command.
I hope this information is helpful, and I look forward to your response so that we can further assist you in resolving this issue.
Best Regards,
Martin | Microsoft Community Support Specialist