04-04-2013 08:21 AM - edited 04-04-2013 08:29 AM
I have searched for this and the answers are not working. I have an app where I copy a folder on a CD onto the C drive. When the app is completed I want to delete the folder. I can't seem to do that with my code. I can manually go to the folder in explorer and de-select read only and it deletes fine. I've tried SetPermissions, Attrib in System Exec, none seem to work. 2011 on an XP system.
One observation of note: when I get permissions it reads 511. When I manually un-select read-only it still reads 511 but I can delete the folder in the code. I simply cannot de-select read-only in programatticaly and I need to. Thanks.
Solved! Go to Solution.
04-04-2013 09:49 AM
I had one letter of a command misplaced going to my System Exec. Looks like it's working now.
In the words of the Great Emily Litella: "Never mind!"