Mail Archives: djgpp/2005/01/26/03:46:13
A message to Brian Inglis:
I said I'd drop you a line, and I'd like to say that the long filename
routine you gave me works perfectly.
Your efforts and expertise are most gratefully received.
MikeC
"Mike C" <My DOT address AT end DOT of DOT post> wrote in message
news:UKUGd.358$751 DOT 298 AT newsfe1-win DOT ntli DOT net...
> Brian,
>
> You clearly know an awful lot more about Intel computers and their OS's
than
> I do. I'm humbled by your attention to my question, but when it comes to
> playing with the registry, that's where I definitely chicken out.
>
> Thanks hugely for your advice, but I'm really more at home with DOS - and
> considering my original question, I'm not _that_ at home there either.
>
> So once again, thanks a million. I'll drop yopu a line and let you know
when
> I eventually get it working.
>
> MikeC.
>
> "Brian Inglis" <Brian DOT Inglis AT SystematicSW DOT Invalid> wrote in message
> news:rfhlu05c19ujeo0gin1mgsm5il1kgcbs9u AT 4ax DOT com...
> > On Sun, 16 Jan 2005 10:41:08 GMT in comp.os.msdos.djgpp, "Mike C"
> > <My DOT address AT end DOT of DOT post> wrote:
> >
> > >
> > >"Brian Inglis" <Brian DOT Inglis AT SystematicSW DOT Invalid> wrote in message
> > >news:h3dku051tn20t66jq51nu6bmig33s9mr37 AT 4ax DOT com...
> > >> On Sat, 15 Jan 2005 16:42:55 +0200 in comp.os.msdos.djgpp, "Eli
> Zaretskii"
> > ><eliz AT gnu DOT org> wrote:
> > >>
> > >> >> From: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT Invalid>
> > >> >> Date: Sat, 15 Jan 2005 14:10:35 GMT
> > >> >>
> > >> >> Go into Explorer/View/Options/File Types/New file type or pick
file
> > >> >> type/Edit/Actions/open/Edit/Application/program.exe "%L"/OK/OK/OK
> > >> >> The "%L" argument passes a quoted long filename to program.exe.
> > >> >
> > >> >Thanks for the tip, but this only works for a specific program.exe,
> > >> >not for the entire system, right?
> > >>
> > >> Double/right clicking on a specific filetype only.
> > >>
> > >The parser that I wrote is for use at work, where everybody uses
> > >(currently!) Windoze 2000. I tried the procedure outlined by Brian
> Inglis
> > >above, but there is no Options selection under View. I can choose
> > >Tools/Folder Options, and there is a "File Types" tab there, but if I
> click
> > >"New", it wants to associate a file type with an execution program.
> > >
> > >The files parsed by my program are always of type ".log", but the
> > >association I like for these is Notepad. (I look at other log files
> also -
> > >the ubiquitous file extension! - so this system won't work for me. I
> have
> > >got as far as compiling Brian's suggestion, but I haven't tested it
yet.
> The
> > >fact that it compiles is encouraging, though!
> >
> > You can add a different action associated with a filetype and
> > displayed in the right-click context menu by adding a new action for
> > the selected filetype (log file) from the File Types tab.
> > You can then export/extract this action from the registry HKCR tree
> > under the file type description to allow others to import it, e.g.
> >
> > REGEDIT4
> >
> > [HKEY_CLASSES_ROOT\GzipFile]
> > @="Gzip File"
> > "EditFlags"=hex:00,00,00,00
> > "AlwaysShowExt"=""
> >
> > [HKEY_CLASSES_ROOT\GzipFile\shell]
> > @=""
> >
> > [HKEY_CLASSES_ROOT\GzipFile\shell\open]
> > @=""
> > "EditFlags"=hex:01,00,00,00
> >
> > [HKEY_CLASSES_ROOT\GzipFile\shell\open\command]
> > @="gunzip.exe -l \"%L\" %1"
> >
> > [HKEY_CLASSES_ROOT\GzipFile\shell\unzip]
> > "EditFlags"=hex:01,00,00,00
> >
> > [HKEY_CLASSES_ROOT\GzipFile\shell\unzip\command]
> > @="gunzip.exe \"%L\" %1"
> >
> > [HKEY_CLASSES_ROOT\GzipFile\DefaultIcon]
> > @="C:\\WINDOWS\\SYSTEM\\SHELL32.DLL,19"
> >
> >
> > --
> > Thanks. Take care, Brian Inglis Calgary, Alberta, Canada
> >
> > Brian DOT Inglis AT CSi DOT com (Brian[dot]Inglis{at}SystematicSW[dot]ab[dot]ca)
> > fake address use address above to reply
>
>
- Raw text -