MASIGNCLEAN104

Invalid file handle error during delete, rename, copy, etc. operations

iklan banner

If you lot have Invalid file handle mistake during rename, delete, copy, etc. operations inwards Windows 10/8/7, hither is a uncomplicated solution that volition produce your occupation within moments. This occupation occurs when your organization tries to demeanor out an functioning on a folder or file using these words:

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, as well as LPT9.

 hither is a uncomplicated solution that volition produce your occupation within moments Invalid file own got mistake during delete, rename, copy, etc. operations

If you lot endeavour to produce or rename a folder or file amongst these reserved words, you lot volition have mistake – The specified device advert is invalid. This happens because these are Windows organization reserved words as well as you lot cannot utilization it similar other words. If you lot bring a file or folder amongst such words on approximately other reckoner running a non-Windows OS as well as you lot endeavour to re-create or rename it inwards Windows, you lot volition move come across this mistake message.

Invalid file handle

While you lot tin forcefulness out utilization the Skip button, if at that spot are multiple such files or folders, you lot tin forcefulness out utilization the Command Prompt. There is a uncomplicated ascendancy that volition take the folder as well as all the files within that folder.

 hither is a uncomplicated solution that volition produce your occupation within moments Invalid file own got mistake during delete, rename, copy, etc. operations

Open Command Prompt on your Windows reckoner as well as execute this command-

rd \\.\file-folder-path /S /Q

Explanation:

  • The rd ascendancy volition take the directory or folder.
  • The \\. ascendancy is used to choose the electrical flow computer.
  • /S helps you lot take all the sub-directories as well as files that are contained inwards the CON folder.
  • /Q is non mandatory since it helps you lot take everything silently. If you lot move into this, you lot won’t cash inwards one's chips whatsoever confirmation message.

You take to enter the amount file/folder path.

For instance, if you lot bring a folder named CON on your Desktop, the path volition seem similar this-

C:\Users\<username>\Desktop\CON

The ascendancy volition seem similar this:

rd \\.\C:\Users\<username>\Desktop\CON /S /Q

If this mistake occurs for other reasons, utilization the following:

FSUTIL reparsepoint delete C:\Users\<username>\Desktop\FileName DEL C:\Users\<username>\Desktop\FileName

This removes the reparse indicate extended functionality.

You volition instantly move able to delete the file.

Hope it plant for you.


Source: https://www.thewindowsclub.com/
Share This :