[Israel.pm] how do I specify a pathname with spaces on win32

Uri Itscowits pm-il at itzko.hopto.org
Mon Sep 27 06:09:12 PDT 2004


Thank you all,

I solved that problem with double quoting.

Now to a little OT:
what I am trying to do is:
1. start a VPN connection from perl script and then
2. add a route to it.

How do I call the VPN-connection-object from a batch / perl script ?

I tried using: 
"explorer c:\desktop\vpn.lnk", 
this makes it work with interactive response,    
but at the same time, perl doesn't block on it, and
the result is trying to add the route before the connection was made.

Also, I'd like to make it run non-interactive.

TIA





More information about the Perl mailing list