Articles

how to check if the directory is writable or not

January 15, 2013 at 07:23:57
Specs: Windows XP

How can I check whether a directory is writable or not in batch scripting?

See More: how to check if the directory is writable or not

Report •


#1
January 15, 2013 at 07:40:43

Try writing a dummy file to the directory. If it suceeds (check if the file exists) then you know the directory is writeable and you delete the dummy file.

Report •
Related Solutions


Ask Question