Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Only Files That Have Changed to Duplicate Drive
Message
 
To
09/08/2007 15:01:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01246997
Message ID:
01247144
Views:
37
>>Good point,
>>It must be:
>>
>>IF NOT LEFT(laFiles[lnFor,1],1) == [.]
>>
>>No need to TRIM.
>
>I was being lazy and didn't check adir for trim, you are correct they are already trimmed.
>
>>And I use LEFT(,1_ because I don't want to check for both - [.] and [..] :-)
>
>Sounds fine to me. I use the other method because it is possible to create a file name that starts with ".", windows explorer won't let you, but modi comm will.
>
>I wouldn't consider starting a file with "." a good practice, but you never know what you will run into.

Agree, but we talk about Tracy here, and I am pretty sure she didn't starts her files with point :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform