User Profile
Collapse
-
Thanks a lot, Plater, it is working finally. -
yes, I tried with 2 double quotes without \, but it gives
arguments = "ffmpeg -i C:\my file"
not what I need.Leave a comment:
-
arguments is string. I also display it using console.write and the result is correct.
What I really want is to create ffmpeg command that can accept filename with space in it. The command is like
ffmpeg -i "C:\my file"
The reason to have double quote on filename is that ffmpeg only accept file name without space, and so
ffmpeg -i C:\my file
is considered as ffmpeg -i C:\my
However, the...Leave a comment:
-
But I did not use verbatim for arguments ( there is no @ before it). How to get rid of \ is a big problem.Leave a comment:
-
I tried that, but get
arguments = "-i \"C:\\my file\"".
How to remove 2 extra "\" in the string?Leave a comment:
-
How to double quote a variable string?
Hi, I'd like to know how to add double quote to a string variable. For example,
So arguments = @"-i C:\my file".Code:string filename = @"C:\my file"; arguments = "-i " + filename;
But I want arguments = @"-i "C:\my file"". How to do it with filename only? I tried,
arguments = "-i " + "\"filename \"";
but only get...
No activity results to display
Show More
Leave a comment: