Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server Name in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01605124
Message ID:
01605145
Views:
76
>>>>>Hi Gang.
>>>>>
>>>>>Question....
>>>>>
>>>>>How do I get the Server Name in Visual FoxPro 9 SP1 ?? The EXE that will acquire this will be on the server, running on the server.
>>>>>
>>>>>Thanks!
>>>>
>>>>Did you try SYS(0)
>>>>?
>>>
>>>That returned "TTILLMAN-DT # ttillman".
>>
>>Right, is the name of the server TTILLMAN-DT ?
>
>I found some help online...
>
>I used the ADIR function...
>
>ADIR(aFiles,"","V")
>
>Thanks

What does it return for you? Testing in the VFP command window returns 'OS' and also this letter is not documented in ADIR help.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform