Quantcast
Viewing all articles
Browse latest Browse all 21391

How to sent text with double quotes in textbox to commandline

hi guys, as in the title i want my program should run an app with the commandline arguements the user mentions in a text box.
now the arguments are like
Quote:

-d "C:\" -f "*.doc" -o "c:\forzeus\results.txt"
as in this there are double quotes within this string. now if i pass this to run a prog via the shell command it teminates at the first double quote (-d") how should i manage this...???

Viewing all articles
Browse latest Browse all 21391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>