Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't copy directory to UNC file path??
Message
From
01/01/2013 10:15:55
 
 
To
31/12/2012 18:29:49
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01560859
Message ID:
01561010
Views:
49
>>Figured out my problem...what I really had was this:
>>
>>cFrom = 'C:\VFP_Projects\Appsr\'
>>lcTo = '\\server\APPS\'
>>
>>...removing the last \ fixed it.
>
>
>Awesome. Well done. :-)
>
>I know in Visual Studio 2008 there is a "feature" which if you either specify or don't specify (can't remember) the trailing backslash, it will not start up properly for debugging.
>
>In my personal opinion, all directory references should ALWAYS require a trailing \ or / depending on the OS.

I have lost count of how many addbs() I have added to my code over the years, just to be on the safe side. Now I do it more or less automatically, unless I use one my many UDFs where addbs() is already in use.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform