GISTS/windows/htaccess.bat

11 lignes
Pas d'EOL
294 o
Batchfile

@echo off
:: rename file in .htaccess in windows
:: (cuz before windows 8 or 10, microsoft was a dick that don't allowed filename starting with a dot)
if [%1]==[] goto noarg
ren %1 .htaccess
exit
:noarg
echo rename any input file into .htaccess
echo Usage: htaccess.bat "truc.txt"
pause
exit