Jack
Rookie

How do I delete files with a long destination address?


I have a windows xp. When I tried to delete files through the Graphical User Interface and a message showed that the full control file permissions are not configured. I tried typing cmd in the search box and tapped enter. I further typed the cacls C:path-to-directorydirectory-name/T/G Everyone:F” and in the next line typed del /F /S /Q /A C in the command prompt. from here the error msgs started. How do I go ahead from here? How do I delete my files with a long destination address?
5 months ago
Respond to this discussion
Kamlesh Paneri | Dec 5 2011

Sometime Files with a long directory path may not delete through the Graphical User Interface, when the required “Full Control” file permissions are not configured. A file cannot allow delete permissions So we can give “Full Control” file permissions using the Cacls command and then use the Del command to delete the file.

here it is step by step process to delete file through command prompt.


click on start>run> type cmd press enter.

We use cacls command to modify file access control.

Type >cacls C:(your drive letter) directory-name(ABC) /T /G Everyone:F press enter .

So it give everyone to access full control on this folder (ABC).


Type “del /F /S /Q /A C:directory-name(ABC)file-name” the exact directory path to the file you are deleting".

Remember If you not give exact file name it will delete all files in this folder

Press the “Enter” key.



I hope it definitely works



© 2012, Instamedia. Some rights reserved. Powered by Instapress and Instacheckin.