2024-05-02 00:13:10 +02:00
|
|
|
@echo off
|
2024-06-12 19:45:10 +02:00
|
|
|
:: 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
|
2024-06-12 19:45:10 +02:00
|
|
|
echo rename any input file into .htaccess
|
2024-05-02 00:13:10 +02:00
|
|
|
echo Usage: htaccess.bat "truc.txt"
|
|
|
|
pause
|
|
|
|
exit
|