If its being "remembered" by Command Prompt or PowerShell history, then possibly the information in these links might be of help:
Clear History in Windows Command Prompt
This provides a similar information for PowerShell:
If its being "remembered" by Command Prompt or PowerShell history, then possibly the information in these links might be of help:
Clear History in Windows Command Prompt
This provides a similar information for PowerShell: