Of course, data typing the variable containing UNC path first helped me with some prior issues I had in this regard.
Jan, most likely around 6 a.m. tomorrow morning you’ll have your solution – after the melatonin kicks in! 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 3:01 PM To: [email protected] Subject: RE: [RBASE-L] - DELETE syntax 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]<mailto:[email protected]>> To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[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<https://url.emailprotection.link/?a95_bYe2AKmOMtUoN5g3qEv8qxWeQ43kqWsz4lIxo8JsFqSyCVWD7sf0kug0vwkpDhEseTOAw-aZMcu3r4Eja7Q~~>’ Delete .vfiletodelete Claudine From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of jan johansen Sent: Friday, September 29, 2017 4:33 PM To: [email protected]<mailto:[email protected]> Subject: Re: [RBASE-L] - DELETE syntax I need to correct something Should look like this \\myuncdrive\deletethisfile.pdf<https://url.emailprotection.link/?a95_bYe2AKmOMtUoN5g3qEv8qxWeQ43kqWsz4lIxo8JsFqSyCVWD7sf0kug0vwkpDhEseTOAw-aZMcu3r4Eja7Q~~> -----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<https://url.emailprotection.link/?acAFKFhjpxVpYQyCeRydM421frBY2qVLcmdj53y22mco~> 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<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.

