About 238,000 results
Open links in new tab
  1. File delete - access is denied even with /F - Super User

    Aug 22, 2015 · To Delete a specific file: When del /f <FILE> producing an Access Denied error, you need to firstly take owner and grant access using takeown and icacls in the command line utilities.

  2. How can I delete all files/subfolders in a given folder via the command ...

    Apr 27, 2015 · I would like to delete all files and subfolders using a batch file in Windows 7 and keep the top folder. Basically emptying the folder.

  3. How can I delete all lines in a file using vi?

    Oct 16, 2014 · to delete all lines. The : introduces a command (and moves the cursor to the bottom). The 1,$ is an indication of which lines the following command (d) should work on. In this case the range …

  4. Delete all files from a folder and its sub folders - Super User

    Apr 15, 2014 · You mean a recurssive delete? This can indeed be done. Something like rd /s /q "c:\folder a will perform a recursive delete on all files and folders within Folder A

  5. Completely delete a folder in Windows using command line

    Completely delete a folder in Windows using command line Ask Question Asked 12 years, 10 months ago Modified 7 years, 6 months ago

  6. How to delete files with specified text in their names?

    Jun 25, 2015 · From a command line To display matching files: dir *_bad.jpg To delete matching files: del *_bad.jpg Use the /s option to match files in subdirectories as well as the current directory.

  7. How to delete files from a folder using a list of file names in windows ...

    Jan 20, 2018 · Simple way is copy the txt file to a file called mydel.bat in the directory of the files to delete. Using an editor like Microsoft Word edit this file. Do a global replace on Newline normally ^p …

  8. How to delete a file in Windows with a too long filename?

    Aug 29, 2012 · When you want to completely delete a directory and it contains long paths, robocopy does a VERY good job: mkdir empty_dir robocopy empty_dir the_dir_to_delete /mir rmdir empty_dir …

  9. How to clear the contents of a file from the command line?

    Jan 1, 2010 · 536 I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: cat file.log I know how to edit the file, …

  10. linux - Remove file without asking - Super User

    Oct 12, 2011 · 151 How can I remove a file without asking the user if he agrees to delete the file? I am writing shell script and use rm function, but it asks "remove regular file?" and I really don't need this.