Try that out, if it doesn't work, tell me. I have tried with below code but not deleting the files.
C'\Temp\sample3.txt 2 MB I need to delete sample1.txt and sample2.txt by running Batch files(.bat fles). It'll ask if you want to delete however many folders/programs you are deleting and click "OK". txt files from the folder C:\Temp by running Batch files. Batch files are small files which can run commands via your computer's built-in Command Prompt program.
#Delete zero byte files bat how to#
Highlight all the left sided files and right click on just one file/program and click delete. This wikiHow teaches you how to delete a file on your Windows computer by using a Batch file. Once it's all restored, put the file YOU DO NOT want onto the left side and the files YOU DO want onto the right. Did you delete anything at all from 30 minutes before you got this folder until now? If so, I want you to go into your recycle bin and restore all the folders to your Desktop or wherever it will restore to. Did you download anything at all to make this folder come up like this? Is it a random folder that you just found or is it there and you know what it is and does and you just can't get rid of it? Is it a read-only file? Can you rename the file at all to anything? Seeing how your first post states that, "Could not find this item, this is no longer located in C:\Users\Stan\Desktop, verify the item's location and try again" The folder must have come with something. I have found a bat file that can delete specific types/sizes, but it only allows you to delete file sizes of 0kb (empty text documents and such), and replacing the '0' with '10' or any other number hasn't worked for me so far.