Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identify UNC of machine logged into Terminal Server
Message
De
23/07/2003 00:07:03
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
22/07/2003 23:21:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00812624
Message ID:
00812647
Vues:
11
G'Day Bernard,

Genius !!! Thanks a lot for that mate.

I don't suppose you'd know how to map to the 'My Documents' folder for the currently logged in user on the client?

Regards,
Gavin.

>Gavin mate
>
>The way I use it is a FOXPRO command that has been there from well FOXPRO
>
>cComp = GETENV("CLIENTNAME")
>* will return the computer name of the CLIENT computer
>
>cPath = "\\"+cComp+"\c$"
>
>This assumes that you are using an XP or NT CLIENT as it will not work in 98.
>The Client must also be shared out. (c$ is a backdoor way to access a net drive)
>
>You can do this but if the files are large and many thinh of the network issues before copying a file down to the client from TS.
>
>We use a TS environment as well and I use the above method to access the COM ports of the client computer as believe it or not WIN2kTS does not as yet have this though Citris had it ages ago.
>
>Have fun
>
>Bernard
>
>
>>Hi All,
>>
>>I have a VFP6 application running on a win2k terminal server and I'd like to be able to identify the UNC of the local machine that logged into terminal server. Anyone know how to do this? The reason I'd like to know this is the application creates a number of output files and I'd like to create them on the local machine rather than in the users profiler in terminal server.
>>
>>Thanks,
>>Gavin.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform