test to see if you have write access to a folder

R

red6000

Hi,

I have some code that saves files to a folder on a another drive (ie
J:\savedfiles\).

Is there any code that can test to see if I have write access to that
folder?

ie:

If writeaccess to J:\savedfiles\ = true then
save file here
else
save file to own drive
end if

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top