Cannot Delete File using Delete File Command

Build your list of AccuZIP6 commands by requesting commands and sharing commands with other users

Moderators: Chrissy, Steve, Terry, Donna, Dave, Eric, MartyH, Kristen, Geoff, Vince

Post Reply
Kristen
Moderator
Posts: 726
Joined: Wed Sep 20, 2006 3:46 pm

Cannot Delete File using Delete File Command

Post by Kristen » Tue Jun 02, 2009 8:08 am

Problem:
1) When attempting to use the DELETE FILE Command using the following command syntax- Example: DELETE FILE "G:\WINDOWS\TEMP\TEST.TXT" and the file will not delete even though both the user and everyone has FULL Read/Write/Delete permissions on the Entire Directory, File AND Folder

2) If files are not being deleted from the Temporary/Working folder in AccuZIP's Properties Window (The Working Disk directory set in AccuZIP under File - Properties - Folders Tab)

The issue may be the following:

Issue:
There is likely an Active directory issue and/or a policy that is in place which prevents non-owners or non-creators of folders from deleting or creating files under certain circumstances even if they have Administrative Rights and FULL permisson on the File and Folder

Solution:

Delete the folder where the file resides and recreate it, assign it Full Read/Write permissions and the DELETE FILE command should successfully work.

Post Reply