nrpe and backslash
Benoit da Costa
bdacosta at csc.com
Wed Nov 21 11:14:44 CET 2007
Hi Benoit
This problem can be solved like this :
Send / from linux commands.
Modify the windows script like this :
set tmp=%*
set tmp=%tmp:/=\%
echo %tmp%
exit 0
As Windows path or files cannot contains /, there should be no problem using slash.
- Benoit da Costa (bdacosta)
-----------------------
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=6739
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list