About 459,000 results
Open links in new tab
  1. How do I delete a file which is locked by another process in C#?

    Aug 4, 2008 · Killing other processes is not a healthy thing to do. If your scenario involves something like uninstallation, you could use the MoveFileEx API function to mark the file for …

  2. java - Force Delete all files from a folder - Stack Overflow

    Force Delete all files from a folder Asked 13 years, 6 months ago Modified 2 years, 9 months ago Viewed 77k times

  3. How can I delete a file or folder in Python? - Stack Overflow

    How do I delete a file or folder in Python? For Python 3, to remove the file and directory individually, use the unlink and rmdir Path object methods respectively:

  4. How can I delete a file that is in use by another process?

    Sep 26, 2014 · When I try to delete a file occurs the following exception: The process cannot access the file '' because it is being used by another process. My code looks like: string[] files …

  5. How to force delete a folder in batch file? - Stack Overflow

    Possible duplicate of How to delete a folder with all contents using a bat file in windows?

  6. How to force delete a file used by another process in Asp.net core

    Aug 7, 2021 · How to force delete a file used by another process in Asp.net core Asked 4 years, 5 months ago Modified 4 years, 5 months ago Viewed 2k times

  7. windows - How can I recursively delete an entire directory with ...

    4 There seems to be issues where Remove-Item -Force -Recurse can intermittently fail on Windows because the underlying file system is asynchronous. This answer seems to address …

  8. Delete a directory and its files using command line but don't throw ...

    Apr 15, 2017 · I need a Windows command to delete a directory and all its containing files but I do not want to see any errors if the directory does not exist.

  9. node.js remove file - Stack Overflow

    Mar 15, 2011 · 97 If you want to check file before delete whether it exist or not. So, use fs.stat or fs.statSync (Synchronous) instead of fs.exists. Because according to the latest node.js …

  10. cmd - "rm -rf" equivalent for Windows? - Stack Overflow

    This doesn't delete files, like rm -rf does, and it also returns a non-zero value when the directory doesn't exist, so rd /s /q foo && echo "yay" will fail if directory "foo" doesn't exist.