Page 1 of 1

route-up

Posted: Wed Apr 19, 2017 4:47 pm
by gopro1000

Code: Select all

script-security level 2
route-up 'C:\patch\route.bat'

'route.bat' don't start
why?

Re: route-up

Posted: Wed Apr 19, 2017 5:00 pm
by TinCanTech

Code: Select all

script-security 2

Re: route-up

Posted: Thu Apr 20, 2017 11:50 am
by gopro1000

Code: Select all

script-security 2
route-up 'C:\patch\route.bat'

respond

Code: Select all

Options error: --route-up script fails with 'C:\patch\route.bat': No such file or directory
Options error: Please correct this error.

'C:\patch\route.bat' - exist

Re: route-up

Posted: Thu Apr 20, 2017 12:32 pm
by Pippin
Maybe:

Code: Select all

C:\\patch\\route.bat

?

Re: route-up

Posted: Fri Apr 21, 2017 9:45 am
by gopro1000
No.

Code: Select all

C:\\patch\\route.bat
'C:\\patch\\route.bat'
"C:\\patch\\route.bat"

write:

Code: Select all

No such file or directory
Options error: Please correct this error.

Re: route-up

Posted: Fri Apr 21, 2017 3:06 pm
by gopro1000
I need working example.
Can help me?
win xp + openvpn 2.3.14.

Re: route-up

Posted: Sat Apr 22, 2017 1:24 am
by TinCanTech
Please see:
HOWTO: Request Help !

Please see:
HOWTO: Request Help ! {2}

Server & client log files at --verb 4 please.

See --log & --verb in The Manual v24x


Start here:
HOWTO: For OpenVPN Community Edition

Re: route-up

Posted: Sat Apr 22, 2017 6:12 am
by TiTex
gopro1000 wrote:I need working example.
Can help me?
win xp + openvpn 2.3.14.

just put your script in the same folder where the config is and use 'route-up script.bat' without specifying a path , are you sure it's script.bat and not script.bat.txt ? :D

Re: route-up

Posted: Sat Apr 22, 2017 6:11 pm
by gopro1000
not script.bat.txt :)
'route-up script.bat' no write error.
but 'script.bat' don't launch.