Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

Copy to Root Directory of USB drive

$
0
0

I have been working on a program that copies the contents of a folder on someone's desktop to the root directory of a usb drive. Everytime I try to use copyToAsync() or copyTo() to copy the directory from the desktop to the USB root directory I get a "Error #3012: Cannot delete file or directory."  I can use a recursive loop to copy all the files individually to the root of the USB and that works. I can copy the directory to a folder inside the root directory of the USB and that works. Here is a link to a similar problem to mine: http://forums.adobe.com/thread/25548?tstart=-1  .   I doesn't look like they ever solved the issue and my USB drive is not read-only and I have permissions to write to the drive.  Please advise.....Thanks!


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>