clean-all.bat errors

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
ScKaSx
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 26, 2011 11:49 pm

clean-all.bat errors

Post by ScKaSx » Fri Jan 28, 2011 4:52 am

hi all,

I am trying to generate PK's using the How To tutorial and ran across a snag. The following steps are:

Code: Select all

init-config.bat
vars.bat
clean-all.bat
build-ca.bat
However, when I run clean-all.bat I get the following errors:
The syntax of the command is incorrect.
The syntax of the command is incorrect.
The system cannot find the file specified.
The system cannot find the file specified.
Then when I try build-ca.bat, it just gives me the man page.

Any ideas or help is appreciated, cheers!

PhrozenFear
OpenVpn Newbie
Posts: 1
Joined: Tue Mar 01, 2011 3:49 am

Re: clean-all.bat errors

Post by PhrozenFear » Tue Mar 01, 2011 3:51 am

When you run init-config.bat, it'll copy a couple of Sample files into proper batch files for you. Then, you have to double-check the information inside of them to make sure they're accurate.

So, to do that, right-click on vars.bat and choose Edit, and then edit it to the parameters you need. Save and close it. Then do the same to clean-all.bat. Then, what I did (which worked), was run, in the following order:
  1. vars.bat
  2. clean-all.bat
  3. vars.bat
  4. build-ca.bat
That should help your problem, mate.

kalinichenko
OpenVpn Newbie
Posts: 7
Joined: Thu Jun 23, 2011 9:31 pm

Re: clean-all.bat errors

Post by kalinichenko » Thu Jun 23, 2011 9:43 pm

Been following the guide but couldnt figure out what exactly should i type into the vars.bat file.Im a noob.Any help please? :oops:

Post Reply