Hallo Stephan!
Ich würde mich nicht auf einen Schalter beschränken, der hat nur an/aus. Nimm' doch stattdessen eine Zählvariable, die die derzeitige Verzeichnistiefe enthält (0 ... x).
Allerdings fängt jetzt auch mir der Kopf zu rauchen an, wenn ich drüber nachdenke, wie ich es noch genauer erklären könnte ;-)
Gruß
Matthias
--
ss:| zu:| ls:[ fo:| de:] va:) ch:? sh:) n4:( rl:( br:> js:| ie:% fl:) mo:}
http://www.makaio.de/quotations
ss:| zu:| ls:[ fo:| de:] va:) ch:? sh:) n4:( rl:( br:> js:| ie:% fl:) mo:}
http://www.makaio.de/quotations