Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Drive Permission problem

1 REPLY 1
Reply
Message 1 of 2
thavasi1982
203 Views, 1 Reply

Drive Permission problem

Hi all,

 

       In some of my programs,  i want to create a ".txt" or ".xls" files to write the values. But some drives not allow me to create any files like this. Is there any way to find the accessibility of the drive before creating the files.

 

STM

1 REPLY 1
Message 2 of 2
Lee_Mac
in reply to: thavasi1982

Assuming the filename is valid, I would think the easiest way would be to test whether the open function successfully returns a file descriptor.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost