Re: How to get "My Documents" location in Tcl

From: Georgios Petasis (petasis_at_iit.demokritos.gr)
Date: 10/09/04


Date: Sat, 9 Oct 2004 17:01:04 +0300

You can also try the environmental variables.
Typing "set" in a dos prompt will show all of them.
You can use for example the value of USERPROFILE\My Documents...

George

"USCode" <uscode@dontspam.me> wrote in message
news:yOednYqfruc2evrcRVn-jA@comcast.com...
> Did you look for them at:
> C:\Documents and Settings\(user name)\My Documents
> ?
>
> "RA" <google.com@roalt.com> wrote in message
> news:271727eb.0410090447.3b84c1a8@posting.google.com...
> > Hi All,
> >
> > Either I must be looking in the wrong location or I'm the first to ask
> > this question (probably the first), but I do not know how to get the
> > user's "My Documents" location of Windows from Tcl/Tk. This question
> > would also apply to "My Pictures", etc.
> >
> > I want to use it because I want my Tcl program to store the data files
> > in the "My Documents" directory, and not in the directory where I
> > store my program (that is: c:\Program Files\<my program name>)
> >
> > Roalt
>
>



Relevant Pages

  • Re: Date Format
    ... if at the Dos prompt I issue the command date /t I get the ... I have checked the environmental variables but can find no reason ... generates a date/time output in a fixed format, ...
    (microsoft.public.windowsxp.general)
  • Re: Server 2003 DOS prompt time problem
    ... Hmm - go to System Properties/Advanced tab - Environmental Variables. ... Doug Sherman ... I have a strange problem when using the TIME function in the DOS prompt ...
    (microsoft.public.windows.server.general)
  • Re: How do you change the location of the "C:Program Files" directory?
    ... "YOUR SYSTEM WILL CRASH, LIKE A BROKEN WINDOW...!" ... simple advice ... parameters that one can see by typing "set" at a DOS prompt. ...
    (microsoft.public.windowsxp.general)
  • Re: OT: pc oddness
    ... Gingerpose wrote: ... Environmental Variables (Right click on My Computer then click ... Or just type "set" at a dos prompt. ... However something happened when you upgraded to SP3. ...
    (uk.rec.motorcycles)
  • Possible to start a service from a DOS window ?
    ... Is there a way to start a Windows service from the DOS prompt? ... (I'm on Windows XP pro SP2) ... When typing 'tasklist /svc' in a DOS box, ...
    (microsoft.public.windowsxp.help_and_support)