Jan, Have you tried:
Set var vfiletodelete = ‘\\myuncdrive\deletethisfile.pdf<file:///\\myuncdrive\deletethisfile.pdf>’ Delete .vfiletodelete Claudine From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen Sent: Friday, September 29, 2017 4:33 PM To: [email protected] Subject: Re: [RBASE-L] - DELETE syntax I need to correct something Should look like this \\myuncdrive\deletethisfile.pdf<file:///\\myuncdrive\deletethisfile.pdf> -----Original Message----- From: "jan johansen" <[email protected]<mailto:[email protected]>> To: [email protected]<mailto:[email protected]> Date: Fri, 29 Sep 2017 14:26:12 -0700 Subject: [RBASE-L] - DELETE syntax Group, Looking for a little help here. So I'm trying to update some code that deals with a UNC connection. The code deletes a file. So if I map a drive, the code works i.e. DELETE Z:\deletethisfile.pdf However using an UNC drive throws a syntax error 2045 DELETE \\deletethisfile.pdf<file:///\\deletethisfile.pdf> I want to use the UNC but how do I overcome the error. Thx in advance. Jan -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

