简体   繁体   中英

How can I programmatically find the Windows Fax Personal CoverPages folder?

I'm trying to find the Windows Fax "Personal CoverPages" folder from my application.

On my Win7 machine, it's C:\\Users\\USER\\Documents\\Fax\\Personal CoverPages

But Windows Fax also comes with XP and Vista Ultimate. I'm pretty sure their folders wouldn't be in the same place.

Is there any way for me to find this folder from my C# code? I'm already using FAXCOMEXLib Interop to send faxes and I'm trying to find a way to easily look at the user's coverpages.

This should work:

var coverPagePath =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
"Fax\\Personal CoverPages");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM