From: "Adrian Drury" <adrury@gmail.com>
To: ntg-context@ntg.nl
Subject: Batch files and texmf
Date: Fri, 10 Aug 2007 11:29:06 -0700 [thread overview]
Message-ID: <af0b241e0708101129n6e6723dfwf9175dc039186b3c@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]
I read the list in digest form - sorry my response won't be threaded in
properly!
How about this for your question, Idris? Pure DOS batch file stuff. I tested
it with notepad instead of Acrobat, but I assume it should be close to
working as shown here.
@ echo off
IF "%1"=="" GOTO NOARG
for /R C:\context %%n IN (.) DO IF EXIST %%n\%1 (
Echo Found %%n\%1
start Acrobat.lnk %%n\%1
GOTO END
)
:NOTFOUND
echo Couldn't find %1
GOTO END
:NOARG
echo Specify a file name to find
:END
[-- Attachment #1.2: Type: text/html, Size: 581 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2007-08-10 18:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-10 18:29 Adrian Drury [this message]
2007-08-10 19:15 ` Idris Samawi Hamid
-- strict thread matches above, loose matches on Subject: below --
2007-08-10 3:28 Batch Files " Idris Samawi Hamid
2007-08-10 5:17 ` Hamid Kamrani
2007-08-10 9:54 ` Hans Hagen
2007-08-10 14:53 ` Idris Samawi Hamid
2007-08-10 15:46 ` Hans Hagen
2007-08-10 16:00 ` Idris Samawi Hamid
2007-08-10 16:09 ` Hans Hagen
2007-08-10 16:38 ` Idris Samawi Hamid
2007-08-10 16:47 ` Hans Hagen
2007-08-10 17:04 ` Idris Samawi Hamid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=af0b241e0708101129n6e6723dfwf9175dc039186b3c@mail.gmail.com \
--to=adrury@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).