Hi Jan,
Worked for me:
set var vdthis text = ('\\server2\achdb\pdf\test.pdf')
DELETE &vdthis
Brad Davidson
CIO, Director
Aero-Craft Hydraulics, Inc.
[http://www.aero-craft.com/image/108353241_scaled_1500x274.png]
[Awards Logo]
951.736.4690
[email protected]<mailto:[email protected]>
www.aero-craft.com<http://www.aero-craft.com>
From: [email protected] [mailto:[email protected]] On Behalf Of
jan johansen
Sent: Friday, September 29, 2017 2: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<https://url.emailprotection.link/?av9CDc-iyLOPPIWv3tKYgJaINkD5QW6ZflPvSdGXhHwFVd9H3-zcIg4w9YJ5CHvjNROgFUpcHti-ELb1dymnjRQ~~>
---
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://url.emailprotection.link/?acI2QHOlLUu5r3fIWsg0FukefuYIqVJU2gt8_envaf_7bRGVAePvclKgGlI5iD7VjZEtCv8mJsYVLH4A0CyroQQ~~>.
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php<https://url.emailprotection.link/?av9CDc-iyLOPPIWv3tKYgJaINkD5QW6ZflPvSdGXhHwFVd9H3-zcIg4w9YJ5CHvjNROgFUpcHti-ELb1dymnjRQ~~>
---
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://url.emailprotection.link/?acI2QHOlLUu5r3fIWsg0FukefuYIqVJU2gt8_envaf_7bRGVAePvclKgGlI5iD7VjZEtCv8mJsYVLH4A0CyroQQ~~>.
--
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.