Windows 10: Folder deletion option on boot bat

Discus and support Folder deletion option on boot bat in Windows 10 Support to solve the problem; Can someone please help? I need to boot my computer and when its booted, automatically delete a foler. Can anyone make a bat or direct me to some... Discussion in 'Windows 10 Support' started by Silencious, Aug 19, 2020.

  1. Folder deletion option on boot bat


    Can someone please help?
    I need to boot my computer and when its booted, automatically delete a foler. Can anyone make a bat or direct me to some software that can delete my chosen folder.

    C:\Program Files (x86)\BlahBlahBlah\DeleteFolder\anyfilesinfoldertoo <= example

    thankyou

    :)
     
    Silencious, Aug 19, 2020
    #1

  2. Trouble deleting a folder

    Thanks for the suggestion but it says "delete folder failed for E:\....." for each folder I try.

    *Confused Folder deletion option on boot bat :confused:

    Will I be forever stuck with these unnecessary folders? *Oh Well Folder deletion option on boot bat :eek:hwell:
     
    oli_ramsay, Aug 19, 2020
    #2
  3. topgundcp Win User
    Unable to delete a folder - Invalid folder name


    Suggestion:
    1. Run chkdsk x: /r to make sure that there's no HD corruption.
      x: is the drive containing the folder you want to delete.
    2. Try to delete the folder again. If still does not work, go to step 3.
    3. Download: Download - Linux Mint and create a bootable USB using: Rufus - Create bootable USB
    4. Boot up with Linux Mint and try to delete the folder again.
      NOTE: Unlike WinPE. Linux does not have any Windows permission imposed to it so it is easier to delete.
     
    topgundcp, Aug 19, 2020
    #3
  4. NinjaNife Win User

    Folder deletion option on boot bat

    BAT File That Deletes Files Below Specific Size

    I am wondering how to make a bat file that can delete all files below a certain size (in this case 10kb). I have a folder on my server that has game screenshots in it (taken by Punkbuster) and need to sort out the good shots from the bad, and figure this is easier than manually deleting thousands of files.. The "bad" shots (blanks with failed renders) range in size from 4kb-8kb, so the bat file can delete anything lower than 10kb with no issues. Is this possible, and if so how do I make one? Thanks for your help.


    *EDIT*
    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.
     
    NinjaNife, Aug 19, 2020
    #4
Thema:

Folder deletion option on boot bat

Loading...
  1. Folder deletion option on boot bat - Similar Threads - Folder deletion option

  2. How to delete an operating system in the boot options?

    in Windows 10 Gaming
    How to delete an operating system in the boot options?: I did an experiment yesterday to dual boot Windows 11 and Windows 10 by partitioning with VHD. After that, I'd delete the partition. I already deleted the partition including the VHD. However, when I start up my computer, the remains of Windows 10 is still there when choosing...
  3. How to delete an operating system in the boot options?

    in Windows 10 Software and Apps
    How to delete an operating system in the boot options?: I did an experiment yesterday to dual boot Windows 11 and Windows 10 by partitioning with VHD. After that, I'd delete the partition. I already deleted the partition including the VHD. However, when I start up my computer, the remains of Windows 10 is still there when choosing...
  4. Bat file request for delete temporary files.

    in Windows 10 Gaming
    Bat file request for delete temporary files.: Hello. As the title suggests, I would like to create a bat file to delete temporary files, but not being an expert in windows commands, I would like to ask if anyone has the kindness and patience to write one command that it deletes all files in the specific folders and...
  5. Bat file request for delete temporary files.

    in Windows 10 Software and Apps
    Bat file request for delete temporary files.: Hello. As the title suggests, I would like to create a bat file to delete temporary files, but not being an expert in windows commands, I would like to ask if anyone has the kindness and patience to write one command that it deletes all files in the specific folders and...
  6. How to find the "open with" option for .bat files

    in Windows 10 Gaming
    How to find the "open with" option for .bat files: Hi, I don't find the "open with" for .bat files option in the context menu.In the default apps I didn't find the .bat file change option.I want the file to open in Anaconda prompt and not in Windows terminal when I double click on it.Thank you for your help...
  7. How to find the "open with" option for .bat files

    in Windows 10 Software and Apps
    How to find the "open with" option for .bat files: Hi, I don't find the "open with" for .bat files option in the context menu.In the default apps I didn't find the .bat file change option.I want the file to open in Anaconda prompt and not in Windows terminal when I double click on it.Thank you for your help...
  8. Bat script to select a folder and update the path in a bat file

    in Windows 10 Support
    Bat script to select a folder and update the path in a bat file: How do I combine this scripts? i want the highlighted folder path to been passed in to the script that's been generated (rensa_datafiler.bat) Its begins with you select a folder: @Echo off Title Folder Selection echo( Select folder . . . call:FolderSelection "%SourcePath%",...
  9. bat“”“”

    in Windows 10 Network and Sharing
    bat“”“”: [ATTACH] WIN10pro https://answers.microsoft.com/en-us/windows/forum/all/bat%E5%8F%B3%E9%94%AE%E6%B2%A1%E6%9C%89%E6%89%93/d78679c5-483a-4fb9-89ac-7b578ca1f76f
  10. Expanding Folder App/BAT Help

    in Windows 10 Ask Insider
    Expanding Folder App/BAT Help: So im looking for some sort of program or bat file or VBS That i can put on my desktop and when i launch it a specific set of shortcuts will appear on my desktop. so basically i want to open a folder but instead of launching the file manager i want the files to appear on the...