Unable to delelete folder with ampersand in between - sam&mot~1


  1. Posts : 1
    windows 7
       #1

    Unable to delelete folder with ampersand in between - sam&mot~1


    I have a folder named sam&mot~1 (Dos 8 bit format) when i try to delete is via dos using also - rmdir /q /s sam&mot~1, it doesn't delete. It says:

    The system cannot find the file specified.
    'mot~1' is not recognized as an internal or external command,
    operable program or batch file.

    Needless to say that it doesn't get deleted by UI (explorer).

    Please help me!
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    Try these:

    Enclose in double quotes: "sam&mot~1"
    Replace & with ?: sam?mot~1
    Replace ?mot with *: sam*~1
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:18.
Find Us