Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Terminal Services and config.fpw
Message
De
02/07/2005 22:22:00
 
 
À
01/07/2005 15:06:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01028312
Message ID:
01028572
Vues:
32
The best way I've found to configure a Citrix/Terminal Server configuration is to create a user folder on the Terminal Server that get's mapped as a root for every user. So \\Server\UserFolders\Perry would get mapped as M: for me, as would \\Server\UserFolders\Tracy get mapped for you.

Then any type of user folder referencing you need to do only has to go to M:

PF

>Terminal Server 2003. (Sorry about the wrong version information in the header, this is VFP8 SP1 not VFP9) workstations are Windows XP.
>
>On terminal services c:\ is the terminal server local hard drive, not the remote hard drive. I have directories setup for each terminal services user as such:
>
>c:\users\user1
>c:\users\user2
>
>The environment variable of username stores the terminal services client username for me so I can put the following in the client's desktop shortcut and it runs the correct config.fpw:
>
>c:\profiler\pro32.exe -cc:\users\%username%\config.fpw
>
>this runs config.fpw in the correct users directory as it should, however, I cannot get the environment variable to work inside of the config.fpw. I need to do the below:
>
>EDITWORK=c:\users\%username%\tmp\
>PROGWORK=c:\users\%username%\tmp\
>SORTWORK=c:\users\%username%\tmp\
>RESOURCE=c:\users\%username%\vfpuser.dbf
>TMPFILES=c:\users\%username%\tmp\
>
>But it only takes if I explicitly put in the folder as in:
>
>RESOURCE = c:\users\user1\vfpuser.dbf
>
>I am overlooking something obvious, can anyone see it? The environment variable of username in this example is 'user1' and the desktop shortcut works but the username system variable is not swapping to user1 in the config.fpw file itself.
>
>TIA

(On an infant's shirt): Already smarter than Bush
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform