Subj : Re: changing the prompt to show only a few directories To : Stan Brown From : Charles Dye Date : Thu Feb 07 2002 11:29 pm From: Charles.Dye@f3.n342.z1.cereal.mv.com (Charles Dye) Subject: Re: changing the prompt to show only a few directories From: raster@highfiber.com (Charles Dye) brahms@mindspring.com (Stan Brown) wrote: >Interesting -- I never realized you could execute functions in the >prompt. But if I'm reading the 4DOS help correctly, the single % in >the above should all be double %% when this is in a batch file, and >the double %% shown should be only a single % when not in a batch >file. In constructions such as internal variables and variable functions, it should always be a single percent sign; double percent signs will not work correctly. For environment variables and FOR-loop indices, you can use either single or double percent signs, whether you're in a batch file or at the prompt. My suggestion would be to always using single percent signs for clarity, unless compatibility with legacy shells is an issue. -- Charles Dye raster@highfiber.com -- |Fidonet: Charles Dye 1:342/3 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .