big svn cleanup
[anytun.git] / src / openvpn / easy-rsa / Windows / clean-all.bat
blob71cbf4d719b7c0ea6b7919ba95d07b77f5f6e71e
1 @echo off
2 rem move to the HOME directory specified in VARS script
3 cd %HOME%
4 rem set a temporary KEY_DIR variable
5 set d=%KEY_DIR%
6 rem delete the KEY_DIR and any subdirs quietly
7 rmdir /s /q %d%
8 rem make a new KEY_DIR
9 mkdir %d%
10 rem copy in a fesh index file so we begin with an empty database
11 copy index.txt.start %d%\index.txt
12 rem copy in a fresh serial file so we begin generating keys at index 01
13 copy serial.start %d%\serial.