Change File Location in Paint/XP

S

Steve Freides

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-
 
D

David Candy

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.
 
S

Steve Freides

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-

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.
 
D

David Candy

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.
 
S

Steve Freides

Forgive me, but this helps solve my problem how?

-S-


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.
 
D

David Candy

Because if there are any files of that type in the current dir it will default there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top