Next question.... How do I query that in a batch file and use its value dynamically
-----Original Message----- From: Steve Aspindle [mailto:steve.aspindle@;krones.co.uk] Sent: Wednesday, October 23, 2002 3:51 AM To: NT 2000 Discussions Subject: RE: My Documents Open a command prompt and type set I think that you can use %homeshare% ? The registry keys are HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal With a string value... Another useful registry key is when working with this is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\CurrentDockIn fo 0= Desktop 1= Undocked Laptop 2= Docked Laptop Hope it helps I'm trying to write some scripts for my Windows 98 and Windows 95 users to copy their My Documents Directory to a network share. Question is there a way to call the My Documents directory without knowing the path? Example %computername% calls the local computer name %username% calls the current user Is there an example like this for the My Documents directory If not is there a way to set it programmatically ------ You are subscribed as [EMAIL PROTECTED] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to %%email.unsub%% ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
