Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 6689

Parse Variable

$
0
0
I need a solution

Hi,

I'm struggling to do what I thought might have been simple enough but I can't get it to work correctly so thought I'd ask here.

I'm using Wise Script Editor and I have a section in it that takes the %INST% variable as the source directory and I'm using that to replace some text in a RTF file. It works ok but I need to double up the backslashes to make it display correctly when the RTF file is viewed.

So something like this -  \\server_name\share\directory as %INST%

needs to become \\\\server_name\\share\\directoy as %INST%

Is there a way you can do this by using the Parse command in the wises script editor?

Hope that's enough information without going into too much detail.

Thanks

Paul


Viewing all articles
Browse latest Browse all 6689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>