重複の可能性:
Windows XPにファイルの名前を特殊文字で強制的に変更する方法は?
Windowsで名前にコロンが含まれる(無効な)ファイルを削除する方法
workspaces\google-gson-1.7.1-release.zip
Yep という名前のファイルを削除したいのですが、名前にバックスラッシュが含まれています。
ここにあります:
G:\>dir Z_DRIVE
Volume in drive G is samsung
Volume Serial Number is 48B9-7E1D
Directory of G:\Z_DRIVE
04/06/2012 08:09 PM <DIR> .
04/06/2012 08:09 PM <DIR> ..
05/01/2011 02:21 PM 528,016 workspaces\google-gson-1.7.1-release.zip
1 File(s) 528,016 bytes
2 Dir(s) 88,400,478,208 bytes free
最初の試みは、Windowsエクスプローラーから削除するだけですが、ファイルが見つからないと言います。
次に、コマンドラインから試しました:
G:\>del Z_DRIVE\workspaces\google-gson-1.7.1-release.zip
The system cannot find the file specified.
また、インターネットで少し調べた後、次のことも試してみました。
G:\>del \\?\G:\Z_DRIVE\workspaces\google-gson-1.7.1-release.zip
The system cannot find the file specified.
Linux CDから起動する以外に、このファイルを削除する方法はありますか?
2012年4月6日に更新:次の組み合わせも試しましたが、エラーは同じです:
G:\>del "\\?\G:\Z_DRIVE\workspaces\google-gson-1.7.1-release.zip"
G:\Z_DRIVE>del workspaces\google-gson-1.7.1-release.zip
G:\Z_DRIVE>del "workspaces\google-gson-1.7.1-release.zip"
G:\Z_DRIVE>del workspaces*google-gson-1.7.1-release.zip
2012年4月7日に更新:Linuxを試す前に、ここでの回答に基づいたいくつかの試みを示すスクリーンショットを示します。これが簡単に再現できるかどうかはわかりませんが、Linuxからfriggin 'ファイルを削除したり、Cygwinを使用したりするのはごまかしのようです:)