htpasswd batch file

Problems with the Windows version of XAMPP, questions, comments, and anything related.

htpasswd batch file

Postby michaelhyk » 21. April 2006 10:49


Here's a batch file for lazy people like me to manage my usernames and passwords. Just create a batch file and paste the following text into it.

SET /P username=Enter username:
e:\xampp\apache\bin\htpasswd.exe -m users.pwd %username%

I've only tested this on win2003, I guess it should work on win2000 and winxp as well. BTW, don't forget to change the path of the "htpasswd.exe" and the name of the password file "users.pwd". NB: The password file must already exist.

Posts: 4
Joined: 17. April 2006 14:45
Location: MY CN in AU

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 90 guests