I've created a sharepoint workflow which attach the picture from C: drive (of email recipient) and show in outlook email. However, some of the users are on windows 7 and some of them are on windows 10, which cause change of the file path. So, I would like to know if there is any code to detect the windows version or if file exists in the c drive of email recipient?

Sharepoint version is O365



If path describes a directory, this method returns false. See how to fix confirm form resubmission and Trailing spaces are removed from the path parameter before determining if the file exists. The Exists method returns false if any error occurs while trying to determine if the specified file exists.

| improve this answer | |
  • I think you're missing something. This answer seems incomplete. – willman Jan 23 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.