Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default directory based on user
Message
De
26/11/1999 18:58:06
 
 
À
26/11/1999 18:10:59
Information générale
Forum:
Microsoft Office
Catégorie:
Word
Divers
Thread ID:
00295710
Message ID:
00295868
Vues:
27
>>>We would like to base the default directory for saving the documents as per the user which is currently logged. Is this possible?
>>
>>Michel, our standard at the office is to point each user at their own "My Documents" directory as a part of their user profile; Word picks this up as their default directory reference from the
>>
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVwersion\Explorer\Shell Folders
>>
>>subkey. You can see but not alter the settings using the Wscript.Shell object's SpecialFolders collection; the 'MyDocuments' item.
>
>The problem is that multiple users are using the same workstation. So, we would like Word to adjust automatically on demand.

It's based on the currently logged-in user - force them to log in as distinct users! If they use Win9x, enable user profiles so that each user has their own setup. If you run in an NT or Win2K domain, the HKEY_CURRENT_USER subkey should follow the user from system to system (romaing hive), and you can assign the entry in the registry to point to a UNC rather than a local drive path.

You can do a roaming hive in a NetWare environment as well.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform