GISTS/windows/htaccess.bat

11 lignes
294 o
Batchfile
Brut Lien permanent Vue normale Historique

2024-05-02 00:13:10 +02:00
@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)
2024-05-02 00:13:10 +02:00
if [%1]==[] goto noarg
ren %1 .htaccess
exit
:noarg
echo rename any input file into .htaccess
2024-05-02 00:13:10 +02:00
echo Usage: htaccess.bat "truc.txt"
pause
exit