Some files can be protected from being deleted either because they are important system files or belong to a person who protected it, so if you don't own the rights for the file/folder you wish to delete, the batch file will not delete and will just say "Access is Denied".
Delete it...
If it says access is denied that means that access is deined, you can't delete it. I think you are probably trying to make a batch file virus to delete system files and is trying to make the batch file delete everything, but came into the access is deined problem.
application
You cannot undo a delete.
Deleting a file differs between Operating Systems. One can use the delete key on the keyboard. In GUI-based Operating Systems one can use the delete menu item, delete button, delete icon. One can also drag-and-drop or move files to the delete or trash folder. Text-based commands also exist that also delete files. Text-based commands can be added to scripts or batch files. There are also utilities that securely deletes files by overwriting them several times before deletion.
Blocking/warning, protecting questions (and answers), featuring questions, automatic merges, deleting and editing discussion posts, edit/delete/view all messages, revert answers, batch splitting and moving alternates, trash questions, and some more powers on the Community Forum.
You can just delete hidden files with the same del command, but since the files are hidden you need to map the location of the hidden folder in the command so the batch file knows where to look and delete. @Echo off del "location of hidden files and/or folders" /Q /F /S exit
unrelease
"by asker" for example i want to delete example.exe but example.exe is in 5 different locations on the computer, is it possible to delete all 5 at once without having to find each one manually
Here's the code: @echo off del "location of folder here" /Q /F /S The code, when run, will locate the mapped location of a folder and delete everything in it. An example: @echo off del C:\Users\Noah\WikiAnswers\*.* /Q /F /S You might want to get rid of the /Q and /F at the end as these two commands prompts the batch file to just go ahead and delete everything without asking for a confirmation. The /S is there so it deletes all the files in the folders in the targeted folder. Also, note that some folders can be protected either by Windows or by the owner of the folders and/or the file(s) in it, and this can deny access for your batch file to delete it if you are not the owner of the file or do not have permission to delete it.
Yes, the noun 'batch' is a collective noun for baked goods:a batch of breada batch of cakesa batch of cookiesa batch of loavesa batch of piesa batch of scones
Batch recategorizing Batch splitting Warn users Block users Edit/delete any message board post Merge questions Trash questions Protect questions Feature questions Lock community forum threads Delete community forum threads/posts Edit any Community Forum post, thread title, etc.