Created
December 26, 2014 16:10
-
-
Save sawadays0118/2fcb2e0004b5516a6856 to your computer and use it in GitHub Desktop.
【Windows】Web制作で役立ちそうなbatファイル色々 ref: http://qiita.com/sawadays0118/items/ab2fa9cbbbf052ac6102
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
set dirname=%DATE:/=% | |
mkdir %~dp0%dirname% |
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
cd /d %~dp0 | |
npm install |
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 d | xcopy /e /i D:\xxxx\yyyy\zzzz %~dp0\zzzz |
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
cd /d %~dp0 | |
rename htaccess.txt .htaccess | |
rename htpasswd.txt .htpasswd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment