C # to save the image file exception - file name, directory name or volume label syntax is incorrect.

Such is the cause of the error:

Save the file path of the folder or file naming this really naming conflict with the provisions of the system, namely the name of the file there was no legal name, such as these special characters reserved by the system can not be used, such as :: /? * ">

Solution:

Modify illegal file name when the system is allowed

Guess you like

Origin www.cnblogs.com/sugarwxx/p/12598679.html