Re: How to get "My Documents" location in Tcl
From: Georgios Petasis (petasis_at_iit.demokritos.gr)
Date: 10/09/04
- Next message: Georgios Petasis: "Convert a canvas contents into an image?"
- Previous message: Erik Leunissen: "Re: What's wrong with strcpy/strcat in this "C for Tcl" experiment?"
- In reply to: USCode: "Re: How to get "My Documents" location in Tcl"
- Next in thread: Kaitzschu: "Re: How to get "My Documents" location in Tcl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
- Next message: Georgios Petasis: "Convert a canvas contents into an image?"
- Previous message: Erik Leunissen: "Re: What's wrong with strcpy/strcat in this "C for Tcl" experiment?"
- In reply to: USCode: "Re: How to get "My Documents" location in Tcl"
- Next in thread: Kaitzschu: "Re: How to get "My Documents" location in Tcl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|