Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: How to open a DBF with a UNC path Date: Wed, 13 Jul 2016 15:08:34 +0200 Lines: 32 Message-ID: References: X-Trace: individual.net CuV68IwRvG4zSUt8VZ2Wlw2MXeC4JK3XS1WfOxUc3SXxK6xMA= Cancel-Lock: sha1:uEv+rKFFSQ9GRGTh2uxA0llAPmA= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:9524 Hi Dick, > Following my questions about how to run a program from Windows Task > Scheduler, I found that a mapped drive does not seem to work in later > Windows versions. I figured out (reading all posts here) that a UNC > path doesn't work because of in the init of dbserver, Curdrive() is > added so it looks a bit like this : > > f:\\myserver\mydir etc. this is strange: for me UNC paths DOES work! And not from yesterday.... The DBServer:Init() method from 2.8 does not use any CurDrive() code. You could try to pass in a FileSpec object instead of the file name in string form. > I am not sure how to solve this except replacing the whole VO28RDD.DLL > with a modified source of that DLL. As soon as I I run a SUPER:INIT to > dbserver the error emerges. I can add a preinit but 1) it isn't even > called and 2) I guess I still can't prevent the addition of a drive > letter to happen. as I wrote: I don't have this problem, neither with the service, neither with programs startet from the task scheduler, and also normal GUI programs are working with UNC paths. Wolfgang --