-
-
Save object1985/4c6b2d1a49a31a7756e549851b173801 to your computer and use it in GitHub Desktop.
カレントディレクトリへフォルダ作成を行い、フォルダ名と部分一致するファイルを作成したフォルダへ移動します。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not "%2"=="" ( | |
echo "mkmvoeの引数は1個のみ指定してください。指定された文字でフォルダ作成と部分一致でファイル移動します。" | |
exit /b 1 | |
) | |
mkdir %1 | |
move *%1* %1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment