answersLogoWhite

0


Best Answer

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".

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: You are deleting a file from batch file Somehow the delete function not deleting some time?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you remove a batch file?

Delete it...


How do you get a batch file to delete a directory when it says Acess is Denied?

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.


How do you make a batch to delete files with specific name pattern?

application


How does an Indexer retrieve a batch or image that was deleted by mistake?

You cannot undo a delete.


How do you erase of file from your hard drive?

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.


What powers do Supervisors have on WikiAnswers?

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.


How do you delete hidden files using batch scripts?

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


What function would a QC Operator use to stop a batch from being uploaded to the RMS?

unrelease


How do you write a batch file to delete one specific file in a number of directories?

"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


How do you make a batch file to delete all files and folders in a particular folder in XP?

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.


Is batch a collective noun for loaves?

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


What super powers will you receive when you become a supervisor?

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.