J
Juan Gabriel Del Cid
Remember that spaces are delimiters. So, if you run:
mspaint.exe C:\Documents and Settings\Desktop\MyAss.bmp
you are sending 3 arguments to mspaint.exe (separated by spaces). What you
want to do is group them into one argument with double quotes:
mspaint.exe "C:\Documents and Settings\Desktop\MyAss.bmp"
So, in your code you would have:
info.Arguments = "\"" + image.getFileName + "\"";
That should work,
-JG
mspaint.exe C:\Documents and Settings\Desktop\MyAss.bmp
you are sending 3 arguments to mspaint.exe (separated by spaces). What you
want to do is group them into one argument with double quotes:
mspaint.exe "C:\Documents and Settings\Desktop\MyAss.bmp"
So, in your code you would have:
info.Arguments = "\"" + image.getFileName + "\"";
That should work,
-JG