2

I don't have enough reputation to comment there, so I have to ask a new question here.

I can use cmd //c tree to use Windows' tree in git-bash for Windows. It only shows directory tree. If I want it also display files, how should I do it?

I tried cmd //c tree /F, but I get Invalid drive specification error.

3
  • Might I suggest: cmd //c tree //F or cmd //c "tree /f" (cmd //c "tree //f")?
    – TOOGAM
    May 23, 2017 at 19:07
  • @TOOGAM They both work. Thank you! (but not the last one in parenthesis :) )
    – hxin
    May 23, 2017 at 21:58
  • Awesome! Works -- the weird block characters I could do without. Is there any way to replace them with tabs or spaces instead? Sep 22, 2023 at 8:56

1 Answer 1

1

Try one (or both) of these variations:

cmd //c tree //F

or

cmd //c "tree /F"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .