Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rename file in .htaccess in widows (cuz microsoft is a dick that don't allow filename starting with a dot)
@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
You can’t perform that action at this time.