You can’t do this in Windows and that’s also why you can’t delete in-use files or directories with files inside
Reply on news.ycombinator.com