Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!decvax!decwrl!pyramid!voder!kontron!optilink!cramer From: cramer@optilink.UUCP (Clayton Cramer) Newsgroups: comp.sys.ibm.pc Subject: Re: Joy of MSDOS Message-ID: <1979@optilink.UUCP> Date: 21 Mar 88 04:42:46 GMT References: <3aee6925.44e6@apollo.uucp> <9429@sunybcs.UUCP> Organization: Optilink Corporation, Petaluma, CA Lines: 36 Since several people seem to want to know the answers: > In article <3aee6925.44e6@apollo.uucp> nelson_p@apollo.uucp writes: > > > > Is there any way to create batch files that don't echo > > their contents to the screen? If I precede the other > > commands in the .BAT file with 'ECHO OFF' then the @#&%*! > > 'ECHO OFF' gets echoed! > > > Hey, anyone who knows the answer to this gives me a response too, > will ya? Thanx In DOS 3.3, you can preceed any batch file command with an @ sign to disable echo -- so you start out a batch file you want to run silently with @ECHO OFF. > > > Why does the PATH command only apply to some kinds of files > > and not others? If you're going to have a 'where to look' > > feature for the computer why limit the types of files it > > applies to? > > Hummmm, Dos 3.20 has been good to me in that it does look > through the whold path for a file to be executed. One thing though, > when an executable looks for a "slave" file (like an overlay), > it doesn't even know that the path exists!!! > > Fai Lau Smart programs know to you look at Argv[0] to get the starting program's home directory. Stupid programs should be able to work with the APPEND command in DOS 3.3. It is supposed to allow a list of directories to be searched for data files. Clayton E. Cramer