1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

コマンドプロンプトの便利コマンド(エクスプローラー系)

Last updated at Posted at 2024-03-29

実行環境

  • Windows 11 Pro
  • コマンドプロンプト

指定したフォルダ配下の全てのファイルに対してセキュリティー保護を解除する

代替テキスト
for /r "対象フォルダのファイルパス" %f in (*) do powershell -Command "Unblock-File '%f'"

指定したフォルダ配下の全てのファイルに対して権限付与の変更をする

icacls "対象フォルダのファイルパス" /grant:r Users:(CI)(OI)F /t

指定したフォルダの階層リストを生成する

tree 調べたいフォルダパス /f >テキストファイルの出力場所\任意のファイル名.txt
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?