Re: default folder for notepad?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Vincent,

Thanks for your help.

1. This behavior is controlled by
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg3
2\LastVisitedMRU\n

I don't have a LastVisitedMRU\n - the farthest my list goes is the letter
"i".
In OpenSaveMRU the list goes to the letter 'j'.

However, it is really hard to modify manually because it is binary value.
I
just want to know if you use File -> Open to open a txt file stored in
C:\,
the next time you try to open file, will it go back to "program files"
folder?

OK, - no. This is what happens:

I open Notepad for the first time.
I go to File --> Open. It automatically goes to the Program Files folder.
I type something and go to save the file. It goes to Program Files and I
have to navigate to My Documents to save it.

Keeping Notepad open - if I open or save something - after having saved it
to My Documents, then yes, it will indeed go to My Documents again.

However, if I open a new Notepad window - again, it goes to Program Files as
the default.

Basically, I want to set things so it never goes to Program Files, as I am
never interested in saving things there. I'm a web designer and am
constantly opening, editing, and closing text (.html & .css) files created
in Notepad. I do it dozens, sometimes hundreds, of times a day. The files
are always saved in subfolders of My Documents.

Since I open and close Notepad text documents all day long, the Program
Files thing really gets under my skin after a while.

I don't have the foggiest idea of how to edit binary code and admit that I
don't really understand what it represents.
So perhaps I had better just give up - unless I can somehow edit this
function in another way.

I really do appreciate all your help. Thanks so much.
best,
Denise

"Vincent Xu [MSFT]" <v-xuwen@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:7haOHWRkGHA.4864@xxxxxxxxxxxxxxxxxxxxxxxx
Hi,

Based on my test:

1. This behavior is controlled by
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg3
2\LastVisitedMRU\n
2. I export current registry key and open file in notepad from another
place.
3. The default open file location is changed. I then import the registry
key back.
4. The default open file location is also changed back.

However, it is really hard to modify manually because it is binary value.
I
just want to know if you use File -> Open to open a txt file stored in
C:\,
the next time you try to open file, will it go back to "program files"
folder?

Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
From: "indiecoffeehouse" <nospam@xxxxxxxxxxx>
Newsgroups: microsoft.public.windowsxp.customize
References: <da_jg.12118$hN2.3299@trnddc05>
<OGp1XKCkGHA.4040@xxxxxxxxxxxxxxxxxxxx>
<hUU9KaDkGHA.764@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: default folder for notepad?
Lines: 107
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
Message-ID: <e6gkg.17306$Bj6.7928@trnddc08>
Date: Thu, 15 Jun 2006 16:42:50 GMT
NNTP-Posting-Host: 71.112.161.137
X-Complaints-To: abuse@xxxxxxxxxxx
X-Trace: trnddc08 1150389770 71.112.161.137 (Thu, 15 Jun 2006 12:42:50
EDT)
NNTP-Posting-Date: Thu, 15 Jun 2006 12:42:50 EDT
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS01.phx.gbl!msrtrans!m
srn-in!newshub.sdsu.edu!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.
net!trnddc08.POSTED!33fe1668!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windowsxp.customize:137647
X-Tomcat-NG: microsoft.public.windowsxp.customize

Hi Vincent,

Thanks for your answer.
OK, I see the directory key in question - but I'm not sure what to do
now.
How do I edit it to make Notepad use My Documents instead of Program
Files?

Thanks so much ~
cheers ~
Denise

"Vincent Xu [MSFT]" <v-xuwen@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:hUU9KaDkGHA.764@xxxxxxxxxxxxxxxxxxxxxxxx
Hi ,

I agree with Donald that the registry key is hard to modify. You can
check
following registry key:


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg3
2\OpenSaveMRU

As well as, Donald's suggestions works perfectly!

Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no
rights.
======================================================



--------------------
Reply-To: "Donald A. Herman" <dherman13@xxxxxxxxxxx>
From: "Donald A. Herman" <dherman13@xxxxxxxxxxx>
References: <da_jg.12118$hN2.3299@trnddc05>
Subject: Re: default folder for notepad?
Date: Wed, 14 Jun 2006 22:20:34 -0400
Lines: 41
Organization: Herman Enterprises
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
Message-ID: <OGp1XKCkGHA.4040@xxxxxxxxxxxxxxxxxxxx>
Newsgroups: microsoft.public.windowsxp.customize
NNTP-Posting-Host: 1Cust7577.an2.bos24.da.uu.net 63.22.221.153
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.windowsxp.customize:137623
X-Tomcat-NG: microsoft.public.windowsxp.customize

It appears that it saves the last location that you saved a file with
notepad in. so try saving a txt file to "My Documents", then open
notepad
again.

I did try using a reg monitor to locate what keys its writing to. but
the
results are saved in binary keys so you got to know what your doing
to
change that.

--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://don_herman.tripod.com
Office Extras, Addins
http://don_herman.tripod.com/msoextras



"indiecoffeehouse" <nospam@xxxxxxxxxxx> wrote in message
news:da_jg.12118$hN2.3299@xxxxxxxxxxx
Hi,

I use Notepad often (mostly for writing hand-coded webpages).

The files I usually want to open with it are in subfolders of
MyDocuments.

However, when I open Notepad, then click the "open file" icon, the
folder
that comes up is Program Files (which I never need to access with
Notepad). From there I have to navigate to MyDocuments, then to the
subfolder where the file I want is located.

Is there a way to configure things so that the folder Notepad first
goes
to is MyDocuments rather than Program Files? It would sure save me
some
time.

Thanks for your help!

best,
Denise











.



Relevant Pages

  • Permissions issue
    ... I have a program that installs as a subfolder of the Program Files ... Inside the main folder of the application is a file, ... If I run this application from an administrator account, ... update this file manually using Notepad, ...
    (microsoft.public.windows.vista.security)
  • Re: default folder for notepad?
    ... I open Notepad for the first time. ... It automatically goes to the Program Files folder. ... I export current registry key and open file in notepad from another ...
    (microsoft.public.windowsxp.customize)
  • Re: The dog, cat, etc
    ... Thanks Herb and Ah, do you know where it is actually, I don't know where, all of related folder has nothing to do with assistant. ... I would pick it up into my notepad if MS threw it away. ... I found Office11 in Program Files of drive C but it is there only a dll file ...
    (microsoft.public.office.misc)
  • Re: The dog, cat, etc
    ... As I am now using Office 2007, I don't have it anymore therefore I cannot ... all of related folder has nothing to do with assistant. ... I found Office11 in Program Files of drive C but it is there only a dll ... want it to appear also when I open even a notepad. ...
    (microsoft.public.office.misc)
  • Re: default folder for notepad?
    ... so try saving a txt file to "My Documents", then open notepad ... The first time you open Notepad, and save something it goes to Program Files ... MyDocuments instead of ...
    (microsoft.public.windowsxp.customize)