Created
June 8, 2017 19:36
-
-
Save Albirew/421a5b3d33945371a8ccc261abc2ea5f to your computer and use it in GitHub Desktop.
rename file in .htaccess in widows (cuz microsoft is a dick that don't allow filename starting with a dot)
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 [%1]==[] goto noarg | |
ren %1 .htaccess | |
exit | |
:noarg | |
echo rename input file into .htaccess | |
echo Usage: htaccess.bat "truc.txt" | |
pause | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment