Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、Linux で次のコマンドに似たコマンドを探しています。
rm -fRv デバッグ/*
このコマンドは、デバッグ内にあるすべてのファイルとディレクトリを削除しますが、デバッグ ディレクトリは削除しません。
CMD を使用して Windows でこれを行うにはどうすればよいですか?
さよなら
for /d %x in (debug\*) do @rd /s /q "%x" del /s /f /q debug\*
私には次のようです:
del /S /Q debug\*
rm(トピックとは関係ありませんが、 Linux とまったく同じように機能する MinGW コマンドを使用しています。)
rm