Subj : Re: changing the prompt to show only a few directories To : Charles Dye From : Jasen Betts Date : Sat Feb 09 2002 08:33 am From: Jasen.Betts@p42.f531.n640.z3.cereal.mv.com (Jasen Betts) Subject: Re: changing the prompt to show only a few directories Hi Charles. 07-Feb-02 23:29:50, Charles Dye wrote to Stan Brown CD> From: raster@highfiber.com (Charles Dye) CD> brahms@mindspring.com (Stan Brown) wrote: B>>Interesting -- I never realized you could execute functions in the B>>prompt. But if I'm reading the 4DOS help correctly, the single % in B>>the above should all be double %% when this is in a batch file, and B>>the double %% shown should be only a single % when not in a batch B>>file. CD> In constructions such as internal variables and variable functions, CD> it should always be a single percent sign; double percent signs will CD> not work correctly. No, single percents will not work correctly. If you use single percents you end up with a prompt that contains literal text (and doesn't change when you change directories etc), to get variable-names and functions into the prompt variable you need to use double percents when you set it, 4dos translates them to single percents and puts them in the prompt, (backquotes can also be used with single precents for the same effect) -=> Bye <=- -- |Fidonet: Jasen Betts 3:640/531.42 | | 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) .