(imported topic written by gbabbitt91)
Im trying create a task to copy files from a share on our server (Novell Servers if that matters) to the local PC. Since the servers will be different for each of our locations Im using a relevance to detemine the UNC Path.
This relevance seems to work ok
substring after "=" of (property "Providername" of it as string) of select objects "Caption, Providername from WIN32_LogicalDisk where Providername != NULL and caption = 'F:'" of WMI as string & "\Pointsec\swupdate\precheck.txt " & "%22C:\Program Files\precheck.txt%22"
When I try to use this in my task I am getting a Relevance substitution failed error.
copy "{substring after "=" of (property "Providername" of it as string) of select objects "Caption, Providername from WIN32_LogicalDisk where Providername != NULL and caption = 'F:'" of WMI as string}" & "\Pointsec\swupdate\precheck.txt " & "%22C:\Program Files\Pointsec\precheck.txt%22"
Im sure I have this wrong but Im not having much luck troubleshooting it. Any ideas where Im going wrong? I apprecaite the help.