> dir %1.*/s/p/b
>                 "
> and call it "FINDIT.BAT".
>
> This should work for any version of DOS 3.30 or higher, and quite possibly
> earlier.

DIR /S and /B were introduced with MS-DOS 5, I believe. 3.2 and 3.3
certainly didn't support that -- you had to do ATTRIB /S.

But it's not a solution to the problem we were looking at, which was 'how do
you find which file will be executed when you type <whatever>'.  That will
show you all <whatever>s on the disk, which is no help at all.

And yes, this is a problem; one of my hats is that of a Java developer, and
sometimes I need the old Java (JDK 1.1.8/Swing 1.1.1) because it's all
platform independent, and sometimes I need the new J2EE which contains some
Jini code I believe.  So when I type 'javac' to compile some code, I need to
know which one's going to be used and alter my PATH if needed.

Regards,
Ben A L Jemmett.
(http://web.ukonline.co.uk/ben.jemmett/, http://www.deltasoft.com/)

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html

Reply via email to