Software >> OS >> Windows >> How to delete folders or files named after dos DEVICES

eg. How to delete file or folders named COM1, COM2, PRN, LPT1, LPT2 1. The following solution works for Windows NT4 and above and uses the POSIX tools in Windows NT/2K resource kit eg. To delete folder G:\software\servergrp\ncb\prn, assuming the posix tools have been installed/copied to c:\temp C:\Temp> rm -d //G/software/servergrp/ncb/prn