@echo off :: rename file in .htaccess in widows (cuz microsoft is a dick that don't allow filename starting with a dot) if [%1]==[] goto noarg ren %1 .htaccess exit :noarg echo rename input file into .htaccess echo Usage: htaccess.bat "truc.txt" pause exit