Brad/Claudine,

Thx. Interestingly I had been using an & variable in the past and it worked.
Turns out, I know need the . variable.
That being said, the & variable is what's working for Brad.

I'm too tired to think about this. I'll try again after the weekend.

Jan
-----Original Message-----
From: Claudine Robbins <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 29 Sep 2017 21:45:47 +0000
Subject: RE: [RBASE-L] - DELETE syntax


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 
Ofjan 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 
[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 
[https://groups.google.com/d/optout].
--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php 
[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 
[https://groups.google.com/d/optout].
 --
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php 
[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 
[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.

Reply via email to