Copy File mystery
Mirko Pepa
mirko.pepa at profile.ch
Mon Jan 19 17:02:46 EST 2015
Hello Bo
I just had today a strange thing with error -43 and it turned out, that it was related to omnis Running as administrator.
Greetings
Mirko
-----------------------------------
Mirko Pepa, Profile GmbH
Schaffhauserstr. 103
8400 Winterthur
Tel. +41 52 213 63 33
-----------------------------------
> Am 19.01.2015 um 22:42 schrieb Bo Carleö <mail at corbisoft.com>:
>
> I have a multi user situation where I use a startup lib to always
> delete the main lib and after that copy a new main lib to the
> local user installation. Has worked perfectly for many years.
> The update lib resides in a separate folder on the server.
>
> Now they have a new server and all users connect via Terminal Server.
> Program works as expected but not the lib update.
>
> Before deleting I check the presence of an update lib with FileOps doesfileexist.
> It does. Then the old lib is deleted - so far all is OK.
> Then the new lib should be copied to the old location.
> Do FileOps.$copyfile(Path_lib_new,Path_lib)
> Also tried:
> Do FileOps.$copyfile([Path_lib_new],[Path_lib])
> Copy File(Path_lib_new,Path_lib) - which worked earlier.
> No way...
> This does not work. Error -43 File not found… though it clearly is there.
>
> Could this have something to do with TS?
> Any advice welcome!
>
> Bo Carleo
>
>
>
>
>
>
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list