Hello Chris, thank you for your time, yes I understood that your code would have worked, as you put a file on empty disk, while scanning for empty disks. Appreciate your work, and have learned a lot!
Rune
Thank you again for lot of info and suggestions. I have now implemented this with the new dialouge as this seems more secure. Also good to get confirmed that my observation was right, not to be able to return the adress of an empty disk was a really surprise! I had a customer that had taken...
I use getdir(), not getdir("F:"). So the user can freely select drive and folder. I have tried with fresh empty and used USB's where I have deleted all files (also hidden).
I get the same result.
set defa to c:\edag
Mfolder=getdir()
* I select F: in the drive-dialogue
* If the F: is empty
...
My users often uses USB-disk to take a backup, and my backup function uses getdir() to select the drive/disk to store the zipped backupfile.
If the usb-disk is not empty everything goes well. With a new empty usb-disk getdir() returns the deafult folder. We use the "Drive" dialogue in the bottom...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.