Subj : Re: changing the prompt to show only a few directories To : Amit From : Klaus Meinhard Date : Thu Feb 07 2002 01:31 pm From: Klaus.Meinhard@f3.n342.z1.cereal.mv.com (Klaus Meinhard) Subject: Re: changing the prompt to show only a few directories From: "Klaus Meinhard" Amit, > How can I change the prompt in 4NT so that it only displays a certain number > of characters in the prompt? Sometimes when I'm deep inside the directory > hierarchy, the prompt takes up an entire line take a look at @left, @instr, @right, @if and you'll be able to come up with a solution that fulfi8lls your need, e.g. (all on one line) set prompt=%%@if[%@len[%_cwds] gt 43,%@left[20,%_cwds]...%@right[20,%_cwds],%_cwds] or whatever you fancy. -- Viele Grube, best regards, *Klaus Meinhard* 07O36'57" East 53O07'52" North Author of the 4XBTM batch collection at http://www.4xbtm.de -- |Fidonet: Klaus Meinhard 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) .