[windows2000] Re: Scripting question

  • From: "Jim Kenzig http://thethin.net" <jimkenz@xxxxxxxxxxxxxx>
  • To: windows2000@xxxxxxxxxxxxx
  • Date: Mon, 5 Jan 2004 14:51:34 -0500

In other words use the dos 8 letter filename.
JK

-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Robert K Coffman
Jr - Info From Data Corporation
Sent: Monday, January 05, 2004 2:48 PM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: Scripting question


stash1="%userprofile%\mydocu~1"
 

-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx]On Behalf Of Puetz, Christoph
Sent: Monday, January 05, 2004 2:38 PM
To: 'windows2000@xxxxxxxxxxxxx'
Subject: [windows2000] Scripting question


Anyone know how I need to specify the path to the local "My documents"
folder on a machine for a vbs script?
 
I am using this script to syncronize two folders. Works fine between two
folders when I paths like C:\temp and C:\test. But I seem to get it
wrong specifying the path to 
 
c:\documents and settings\user id\my documents. (user id of course
should be the logged on user
 
Any idea how I can specify that path with the user id retrieved
automatically so that it runs on that local my documents folder no
matter which user is logged

Other related posts: