How to make Windows command prompt treat single quote as though it is a double quote?
Fresh3 days ago
Mar 15, 202624983 viewsConfidence Score0%
0%
Problem
My scenario is simple - I am copying script samples from the Mercurial online book and pasting them in a Windows command prompt. The problem is that the samples in the book use single quoted strings. When a single quoted string is passed on the Windows command prompt, the latter does not recognize …
Error Output
hg commit -m 'Initial commit'
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to make Windows command prompt treat single quote as though it is a double quote?
Low Risk
The quoting character can't be changed in the command.com prompt. You can, however, use PowerShell which accepts both single and double quotes as quoting characters. They function the same as in Unix shells. I.e., single quotes do not expand variabl…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix