ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Cc: adrury@gmail.com
Subject: Re: Batch files and texmf
Date: Fri, 10 Aug 2007 13:15:53 -0600	[thread overview]
Message-ID: <op.twuygrhknx1yh1@your-b27fb1c401> (raw)
In-Reply-To: <af0b241e0708101129n6e6723dfwf9175dc039186b3c@mail.gmail.com>

Hi Adrian,

On Fri, 10 Aug 2007 12:29:06 -0600, Adrian Drury <adrury@gmail.com> wrote:

> 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

This works beautifully! Thank you so much!!!

Best wishes
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2007-08-10 19:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10 18:29 Adrian Drury
2007-08-10 19:15 ` Idris Samawi Hamid [this message]
  -- 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=op.twuygrhknx1yh1@your-b27fb1c401 \
    --to=ishamid@colostate.edu \
    --cc=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).