PDA

View Full Version : Change File Location in Paint/XP


Steve Freides
May 27th 04, 06:10 PM
I would like to change the default file saving location in the paint
program that comes with Windows XP but I cannot find anything within the
menu to do this - is there a way to do this? I'm comfortable changing a
registry entry if that's required but a quick search didn't bring an
appropriate entry to my attention either.

Thanks in advance.

-S-

David Candy
May 27th 04, 06:10 PM
lpstrInitialDir=20
Pointer to a null terminated string that can specify the initial =
directory. The algorithm for selecting the initial directory varies on =
different platforms.=20
Windows 2000/XP:=20

1.. If lpstrFile contains a path, that path is the initial directory.=20
2.. Otherwise, lpstrInitialDir specifies the initial directory.=20
3.. Otherwise, if the application has used an Open or Save As dialog =
box in the past, the path most recently used is selected as the initial =
directory. However, if an application is not run for a long time, its =
saved selected path is discarded.=20
4.. If lpstrInitialDir is NULL and the current directory contains any =
files of the specified filter types, the initial directory is the =
current directory.=20
5.. Otherwise, the initial directory is the personal files directory =
of the current user.=20
6.. Otherwise, the initial directory is the Desktop folder.=20
Windows 98/Me:=20

1.. lpstrInitialDir specifies the initial directory.=20
2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that =
path is the initial directory.=20
3.. Otherwise, if the current directory contains any files of the =
specified filter types, the initial directory is the current directory.=20
4.. Otherwise, the initial directory is the personal files directory =
of the current user.=20
Earlier versions of Windows and Windows NT:=20

1.. lpstrInitialDir specifies the initial directory.=20
2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that =
path is the initial directory.=20
3.. Otherwise, the initial directory is the current directory.=20

--=20
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Steve Freides" > wrote in message =
...
> I would like to change the default file saving location in the paint
> program that comes with Windows XP but I cannot find anything within =
the
> menu to do this - is there a way to do this? I'm comfortable changing =
a
> registry entry if that's required but a quick search didn't bring an
> appropriate entry to my attention either.
>=20
> Thanks in advance.
>=20
> -S-
>=20
>=20
>

Steve Freides
May 27th 04, 07:02 PM
A search of the registry (regedt32, Edit, Find) yields no matches on
either lpstrFile or lpstrInitialDir - what am I missing here?

I would also like to change the default type of file saved from bitmap
to jpeg for Paint.

TIA.

-S-

"David Candy" > wrote in message
...
lpstrInitialDir
Pointer to a null terminated string that can specify the initial
directory. The algorithm for selecting the initial directory varies on
different platforms.
Windows 2000/XP:

1.. If lpstrFile contains a path, that path is the initial directory.
2.. Otherwise, lpstrInitialDir specifies the initial directory.
3.. Otherwise, if the application has used an Open or Save As dialog
box in the past, the path most recently used is selected as the initial
directory. However, if an application is not run for a long time, its
saved selected path is discarded.
4.. If lpstrInitialDir is NULL and the current directory contains any
files of the specified filter types, the initial directory is the
current directory.
5.. Otherwise, the initial directory is the personal files directory
of the current user.
6.. Otherwise, the initial directory is the Desktop folder.
Windows 98/Me:

1.. lpstrInitialDir specifies the initial directory.
2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
path is the initial directory.
3.. Otherwise, if the current directory contains any files of the
specified filter types, the initial directory is the current directory.
4.. Otherwise, the initial directory is the personal files directory
of the current user.
Earlier versions of Windows and Windows NT:

1.. lpstrInitialDir specifies the initial directory.
2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
path is the initial directory.
3.. Otherwise, the initial directory is the current directory.

--
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Steve Freides" > wrote in message
...
> I would like to change the default file saving location in the paint
> program that comes with Windows XP but I cannot find anything within
the
> menu to do this - is there a way to do this? I'm comfortable changing
a
> registry entry if that's required but a quick search didn't bring an
> appropriate entry to my attention either.
>
> Thanks in advance.
>
> -S-
>
>
>

David Candy
May 27th 04, 07:02 PM
They aren't in the registry. This is what programs tell the dialog to =
do. If Paint remembered it would fill lpstrInitialDir but paint doesn't =
remember leaving it up to the dialog to decide. You can't change the =
filter either. Perhaps look at Current Dir, you can set this in the =
shortut that starts paint.

--=20
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Steve Freides" > wrote in message =
...
> A search of the registry (regedt32, Edit, Find) yields no matches on
> either lpstrFile or lpstrInitialDir - what am I missing here?
>=20
> I would also like to change the default type of file saved from bitmap
> to jpeg for Paint.
>=20
> TIA.
>=20
> -S-
>=20
> "David Candy" > wrote in message
> ...
> lpstrInitialDir
> Pointer to a null terminated string that can specify the initial
> directory. The algorithm for selecting the initial directory varies on
> different platforms.
> Windows 2000/XP:
>=20
> 1.. If lpstrFile contains a path, that path is the initial =
directory.
> 2.. Otherwise, lpstrInitialDir specifies the initial directory.
> 3.. Otherwise, if the application has used an Open or Save As dialog
> box in the past, the path most recently used is selected as the =
initial
> directory. However, if an application is not run for a long time, its
> saved selected path is discarded.
> 4.. If lpstrInitialDir is NULL and the current directory contains =
any
> files of the specified filter types, the initial directory is the
> current directory.
> 5.. Otherwise, the initial directory is the personal files directory
> of the current user.
> 6.. Otherwise, the initial directory is the Desktop folder.
> Windows 98/Me:
>=20
> 1.. lpstrInitialDir specifies the initial directory.
> 2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
> path is the initial directory.
> 3.. Otherwise, if the current directory contains any files of the
> specified filter types, the initial directory is the current =
directory.
> 4.. Otherwise, the initial directory is the personal files directory
> of the current user.
> Earlier versions of Windows and Windows NT:
>=20
> 1.. lpstrInitialDir specifies the initial directory.
> 2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
> path is the initial directory.
> 3.. Otherwise, the initial directory is the current directory.
>=20
> --=20
> ----------------------------------------------------------
> http://home.comcast.net/~wizardofwhimsy/index.html
> "Steve Freides" > wrote in message
> ...
> > I would like to change the default file saving location in the paint
> > program that comes with Windows XP but I cannot find anything within
> the
> > menu to do this - is there a way to do this? I'm comfortable =
changing
> a
> > registry entry if that's required but a quick search didn't bring an
> > appropriate entry to my attention either.
> >
> > Thanks in advance.
> >
> > -S-
> >
> >
> >
>=20
>

Steve Freides
May 28th 04, 08:01 PM
Forgive me, but this helps solve my problem how?

-S-


"David Candy" > wrote in message
...
They aren't in the registry. This is what programs tell the dialog to
do. If Paint remembered it would fill lpstrInitialDir but paint doesn't
remember leaving it up to the dialog to decide. You can't change the
filter either. Perhaps look at Current Dir, you can set this in the
shortut that starts paint.

--
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Steve Freides" > wrote in message
...
> A search of the registry (regedt32, Edit, Find) yields no matches on
> either lpstrFile or lpstrInitialDir - what am I missing here?
>
> I would also like to change the default type of file saved from bitmap
> to jpeg for Paint.
>
> TIA.
>
> -S-
>
> "David Candy" > wrote in message
> ...
> lpstrInitialDir
> Pointer to a null terminated string that can specify the initial
> directory. The algorithm for selecting the initial directory varies on
> different platforms.
> Windows 2000/XP:
>
> 1.. If lpstrFile contains a path, that path is the initial
directory.
> 2.. Otherwise, lpstrInitialDir specifies the initial directory.
> 3.. Otherwise, if the application has used an Open or Save As dialog
> box in the past, the path most recently used is selected as the
initial
> directory. However, if an application is not run for a long time, its
> saved selected path is discarded.
> 4.. If lpstrInitialDir is NULL and the current directory contains
any
> files of the specified filter types, the initial directory is the
> current directory.
> 5.. Otherwise, the initial directory is the personal files directory
> of the current user.
> 6.. Otherwise, the initial directory is the Desktop folder.
> Windows 98/Me:
>
> 1.. lpstrInitialDir specifies the initial directory.
> 2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
> path is the initial directory.
> 3.. Otherwise, if the current directory contains any files of the
> specified filter types, the initial directory is the current
directory.
> 4.. Otherwise, the initial directory is the personal files directory
> of the current user.
> Earlier versions of Windows and Windows NT:
>
> 1.. lpstrInitialDir specifies the initial directory.
> 2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
> path is the initial directory.
> 3.. Otherwise, the initial directory is the current directory.
>
> --
> ----------------------------------------------------------
> http://home.comcast.net/~wizardofwhimsy/index.html
> "Steve Freides" > wrote in message
> ...
> > I would like to change the default file saving location in the paint
> > program that comes with Windows XP but I cannot find anything within
> the
> > menu to do this - is there a way to do this? I'm comfortable
changing
> a
> > registry entry if that's required but a quick search didn't bring an
> > appropriate entry to my attention either.
> >
> > Thanks in advance.
> >
> > -S-
> >
> >
> >
>
>

David Candy
May 28th 04, 08:01 PM
Because if there are any files of that type in the current dir it will =
default there.

--=20
----------------------------------------------------------
http://home.comcast.net/~wizardofwhimsy/index.html
"Steve Freides" > wrote in message =
...
> Forgive me, but this helps solve my problem how?
>=20
> -S-
>=20
>=20
> "David Candy" > wrote in message
> ...
> They aren't in the registry. This is what programs tell the dialog to
> do. If Paint remembered it would fill lpstrInitialDir but paint =
doesn't
> remember leaving it up to the dialog to decide. You can't change the
> filter either. Perhaps look at Current Dir, you can set this in the
> shortut that starts paint.
>=20
> --=20
> ----------------------------------------------------------
> http://home.comcast.net/~wizardofwhimsy/index.html
> "Steve Freides" > wrote in message
> ...
> > A search of the registry (regedt32, Edit, Find) yields no matches on
> > either lpstrFile or lpstrInitialDir - what am I missing here?
> >
> > I would also like to change the default type of file saved from =
bitmap
> > to jpeg for Paint.
> >
> > TIA.
> >
> > -S-
> >
> > "David Candy" > wrote in message
> > ...
> > lpstrInitialDir
> > Pointer to a null terminated string that can specify the initial
> > directory. The algorithm for selecting the initial directory varies =
on
> > different platforms.
> > Windows 2000/XP:
> >
> > 1.. If lpstrFile contains a path, that path is the initial
> directory.
> > 2.. Otherwise, lpstrInitialDir specifies the initial directory.
> > 3.. Otherwise, if the application has used an Open or Save As =
dialog
> > box in the past, the path most recently used is selected as the
> initial
> > directory. However, if an application is not run for a long time, =
its
> > saved selected path is discarded.
> > 4.. If lpstrInitialDir is NULL and the current directory contains
> any
> > files of the specified filter types, the initial directory is the
> > current directory.
> > 5.. Otherwise, the initial directory is the personal files =
directory
> > of the current user.
> > 6.. Otherwise, the initial directory is the Desktop folder.
> > Windows 98/Me:
> >
> > 1.. lpstrInitialDir specifies the initial directory.
> > 2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
> > path is the initial directory.
> > 3.. Otherwise, if the current directory contains any files of the
> > specified filter types, the initial directory is the current
> directory.
> > 4.. Otherwise, the initial directory is the personal files =
directory
> > of the current user.
> > Earlier versions of Windows and Windows NT:
> >
> > 1.. lpstrInitialDir specifies the initial directory.
> > 2.. If lpstrInitialDir is NULL and lpstrFile contains a path, that
> > path is the initial directory.
> > 3.. Otherwise, the initial directory is the current directory.
> >
> > --=20
> > ----------------------------------------------------------
> > http://home.comcast.net/~wizardofwhimsy/index.html
> > "Steve Freides" > wrote in message
> > ...
> > > I would like to change the default file saving location in the =
paint
> > > program that comes with Windows XP but I cannot find anything =
within
> > the
> > > menu to do this - is there a way to do this? I'm comfortable
> changing
> > a
> > > registry entry if that's required but a quick search didn't bring =
an
> > > appropriate entry to my attention either.
> > >
> > > Thanks in advance.
> > >
> > > -S-
> > >
> > >
> > >
> >
> >
>=20
>

Google