-
July 8th, 2011, 10:26 AM
#1
Must be an easy one - percentage sign in windows command line
I would like to pass the string "%24x" (without double quotes) to my application as a command line argument (usually referred as argv. I cannot on Windows7.
I tried the following:
> app.exe %24x
--> $x
> app.exe %%24x
--> %$x
> app.exe %;24x
--> %;24x
> app.exe "%24x"
--> $x (so quoting does not look to change anything)
So, how will a single percentage sign go through as an argument? How to do escaping?
-
July 8th, 2011, 11:17 AM
#2
Re: Must be an easy one - percentage sign in windows command line
worked for me
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
July 8th, 2011, 11:45 AM
#3
Re: Must be an easy one - percentage sign in windows command line
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|