New context menu

G

gmrad

When you right-click an empty space in Windows Explorer or on the Desktop,
you'll see a sub-menu called 'New' which lets you create a new document in
that folder. On my computer I stopped to see New for txt and tex files.
Neither TweakUI nor X-setup Pro works to help. I think it can help to my
explanation of the problem if I write an excerpt from my Registry
.txt
Name Data
(Default) txtfile
Content Type text/plain
Perceived Type text
ShellNew-
(Default) (value not set)
NullFile

..tex
(Default) LaTeX.Document
ShellNew-
(Default) (value not set)
FileName c:\ProgramFiles\ScientificNotebook \Shells\General\Blank
Document.shl
NullFile

Please pay attention on the line by FileName for the TEX extension though in
Folder Options\File Types for the TEX extension stays Opens with Winedt.
 
R

Ramesh [MVP]

Please post the information in .REG format for easier reading. You need to post these two keys as well:

HKEY_CLASSES_ROOT\LaTeX.Document
HKEY_CLASSES_ROOT\txtfile

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

When you right-click an empty space in Windows Explorer or on the Desktop,
you'll see a sub-menu called 'New' which lets you create a new document in
that folder. On my computer I stopped to see New for txt and tex files.
Neither TweakUI nor X-setup Pro works to help. I think it can help to my
explanation of the problem if I write an excerpt from my Registry
.txt
Name Data
(Default) txtfile
Content Type text/plain
Perceived Type text
ShellNew-
(Default) (value not set)
NullFile

..tex
(Default) LaTeX.Document
ShellNew-
(Default) (value not set)
FileName c:\ProgramFiles\ScientificNotebook \Shells\General\Blank
Document.shl
NullFile

Please pay attention on the line by FileName for the TEX extension though in
Folder Options\File Types for the TEX extension stays Opens with Winedt.
 
C

Chuck

When you right-click an empty space in Windows Explorer or on the Desktop,
you'll see a sub-menu called 'New' which lets you create a new document in
that folder. On my computer I stopped to see New for txt and tex files.
Neither TweakUI nor X-setup Pro works to help. I think it can help to my
explanation of the problem if I write an excerpt from my Registry
.txt
Name Data
(Default) txtfile
Content Type text/plain
Perceived Type text
ShellNew-
(Default) (value not set)
NullFile

.tex
(Default) LaTeX.Document
ShellNew-
(Default) (value not set)
FileName c:\ProgramFiles\ScientificNotebook \Shells\General\Blank
Document.shl
NullFile

Please pay attention on the line by FileName for the TEX extension though in
Folder Options\File Types for the TEX extension stays Opens with Winedt.

Does this help?
http://www.latex-project.org/

Neither a Google nor Yahoo search turns up any spyware concerns.

Of course you could be the first.

Cheers,
Chuck
Paranoia comes from experience - and is not necessarily a bad thing.
 
G

gmrad

I am sorry but I found nothing that has any relation to my problem. I know
enough for me about LaTeX.

 
D

David Candy

Would you please email me notepad and notpad to

(e-mail address removed)

One or both is a virus.
 
G

gmrad

I am very sorry I thought that you had occasionally misspelled notepad when
you had written notpad. No I have no notpad file in my System32 Folder but
only notepad.exe. If you still want I email it you.

Would you please email me notepad and notpad to

(e-mail address removed)

One or both is a virus.
 
D

David Candy

Do so anyway as notpad seems to delete txtfile.
Can you confirm that you don't have a txtfile (without the leading period). You'll have to scroll down a bit to get to the parts without leading periods.
 
D

David Candy

There is no file association for latex. Just it's MIME type (how browsers tell how to handle files).
 
R

Ramesh [MVP]

Well. That may be the actual cause for the ShellNew notepad entry not appearing. Carry-on with the advice of David.

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

I send you what you asked but there is no such extension as txtfile in my
Registry though there is such as text.


Please post the information in .REG format for easier reading. You need to
post these two keys as well:

HKEY_CLASSES_ROOT\LaTeX.Document
HKEY_CLASSES_ROOT\txtfile

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

When you right-click an empty space in Windows Explorer or on the Desktop,
you'll see a sub-menu called 'New' which lets you create a new document in
that folder. On my computer I stopped to see New for txt and tex files.
Neither TweakUI nor X-setup Pro works to help. I think it can help to my
explanation of the problem if I write an excerpt from my Registry
.txt
Name Data
(Default) txtfile
Content Type text/plain
Perceived Type text
ShellNew-
(Default) (value not set)
NullFile

..tex
(Default) LaTeX.Document
ShellNew-
(Default) (value not set)
FileName c:\ProgramFiles\ScientificNotebook \Shells\General\Blank
Document.shl
NullFile

Please pay attention on the line by FileName for the TEX extension though in
Folder Options\File Types for the TEX extension stays Opens with Winedt.
 
G

gmrad

Sorry, after I sent the previous mail I thought that copy of the Registry
for txtfile may help you and that it is the file you asked to attach. So I
send it for you.

There is no file association for latex. Just it's MIME type (how browsers
tell how to handle files).

--
----------------------------------------------------------
http://www.smh.com.au/yoursay/2004/06/11/index.html
Do so anyway as notpad seems to delete txtfile.
Can you confirm that you don't have a txtfile (without the leading period).
You'll have to scroll down a bit to get to the parts without leading
periods.
 
D

David Candy

Attached is the txtfile fix. Now why do you expect a latex New thing. What program do you use to open latex files. Your settings are standard for XP (IE knows what is is, Search knows what it is, but no program to edit).
 
G

gmrad

I have no enough words to thank you for your help! Now the problem is
solved. As for tex files I've never paid any attention if it is in the New
menu. Simply I saw the possibility in TweakUI and used it as a test in my
tries to solve the problem. BTW I use winedt as an application for my tex
files. Thank you one more time!

Attached is the txtfile fix. Now why do you expect a latex New thing. What
program do you use to open latex files. Your settings are standard for XP
(IE knows what is is, Search knows what it is, but no program to edit).
 
D

David Candy

What is the path to WinEdt? A program needs an Open command to appear on the New menu. I presume if you dbl click a latex it won't open. It's easy to put there but one needs to know the
path to the editor and do some stuff. Tweakui adds the New side of it but assumes that it has already an open command.
 
R

Ramesh [MVP]

Welcome again David. I g2g to sleep now :) 3:30AM IST

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

What is the path to WinEdt? A program needs an Open command to appear on the New menu. I presume if you dbl click a latex it won't open. It's easy to put there but one needs to know the
path to the editor and do some stuff. Tweakui adds the New side of it but assumes that it has already an open command.
 
G

gmrad

The path to the winedt application on my computer is c:\Program Files\WinEdt
Team\WinEdt\WinEdt.exe.
No, you are wrong, a LaTeX file is opened with a doubleclick as I made it
with the usual My Document/Tools/Folder Options/File Types procedure. And
TweakUI does nothing with the problem.


What is the path to WinEdt? A program needs an Open command to appear on the
New menu. I presume if you dbl click a latex it won't open. It's easy to put
there but one needs to know the
path to the editor and do some stuff. Tweakui adds the New side of it but
assumes that it has already an open command.
 
D

David Candy

Despite being in the place you make file associations in, Change does not change the File Associations but is a layer on top of File Associations. Advanced (which will be Reset if Open With is opening the file) does File Associations and Change does Open With.

So go into the dialog and click reset so File Associations get control back.

The search filter selected by windows for this file type in one that only searches for file size, name, etc, not contents.

I've included two files. One searches the files properties only and one searches as if it's a text file. You can run either, the last one run is what applies.

I haven't included a print command in the files. I've taken a guess at what command winedt needs to print and supplied two more files, to add print with my guess and to remove it if wrong.

I've made two more assumptions
1. A new file is completely blank, like a new text document. Files like Word Documents have a lot of metadata already. Both look blank. if this is not true send me a blank latex file by mail.

2. I've also guessed (at the lowest level and most compatable) at how winedt handles long file names. I may have guessed wrong (but will be right 99% of the time).

And I presume the line in the path broke at a space in your message (eg "WinEdt Team" not "WinEdtTeam").

It's hard to test without winedt. But if i substitute notepad for winedt it works.
 
G

gmrad

I think I suggested you to solve a hard problem without pointing out its
contents. It has no principled interest for me because a tex file is an
usual txt file from all points of view except from the point of view of its
interpreter (as for example Basic file or html file). To winedt.exe
understand that this is a tex file I must write definite preamble and final
commands. So after I've got a possibility to set a new textfile it is enough
for me to start texfile too. Even winedt itself, after one chose New from
the File Menu, suggests a simple text file. And it prints this file as a
text with corresponding formating for formulas, tables and so on after all
necessary commands were written by an author in this text file. I am sure
this text above explains that you were right in your first assumption. As
for the second one I must say that winedt does understand long file names.
And your presumption was right too.
So, let me thank you one more time for your perseverance in solving my
problems! All this history makes me to try to understand Registry even in a
nutshell.
It seems to me very interesting though scary.

Despite being in the place you make file associations in, Change does not
change the File Associations but is a layer on top of File Associations.
Advanced (which will be Reset if Open With is opening the file) does File
Associations and Change does Open With.

So go into the dialog and click reset so File Associations get control back.

The search filter selected by windows for this file type in one that only
searches for file size, name, etc, not contents.

I've included two files. One searches the files properties only and one
searches as if it's a text file. You can run either, the last one run is
what applies.

I haven't included a print command in the files. I've taken a guess at what
command winedt needs to print and supplied two more files, to add print with
my guess and to remove it if wrong.

I've made two more assumptions
1. A new file is completely blank, like a new text document. Files like Word
Documents have a lot of metadata already. Both look blank. if this is not
true send me a blank latex file by mail.

2. I've also guessed (at the lowest level and most compatable) at how winedt
handles long file names. I may have guessed wrong (but will be right 99% of
the time).

And I presume the line in the path broke at a space in your message (eg
"WinEdt Team" not "WinEdtTeam").

It's hard to test without winedt. But if i substitute notepad for winedt it
works.
 

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