Skip to content

windows configuration

Kittipong R edited this page Mar 19, 2016 · 7 revisions

Annoyance

Remove files and folders

If you are trying to remove files and folders and ran into a problem -- unable to delete. It usually comes down to these potential problems: files are being used by a process, executable are running, or access permissions. Here are some commands to resolve the problems...

## Listing the task
> tasklist
> tasklist | findstr "firefox.exe"
// Powershell
> get-process

// Kill the task -- pid(/PID), name(/IM)
> taskkill /?

## Display a short name (DOS 8.3-format) and long name
## and delete the file/folder
> dir /x
> rmdir /q /s <shortname>

Reference:

Clone this wiki locally