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
Hi Adrian,
On Fri, 10 Aug 2007 12:29:06 -0600, Adrian Drury
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/
participants (2)
-
Adrian Drury
-
Idris Samawi Hamid