Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I strip because I get the ./; and it is an unfair advantage because the Windows one is very much a WiP. - Thanks, I'll give yours a shot.
    – A T
    Commented Feb 26, 2017 at 13:49
  • 1
    Since for /d works from the current path, there is no need to use .\* and with only * there is nothing prepended to the folder name. Converting from a one line I also missed to double the percent signs. Changed above.
    – LotPings
    Commented Feb 26, 2017 at 13:54
  • Thanks: I'll give that a shot. BTW: The PushD/PopD; is doing the cd right?
    – A T
    Commented Feb 28, 2017 at 7:08
  • 1
    Yes, pusd put's the current location on a stack and changes to the new folder. Popd returns to the previous folder.
    – LotPings
    Commented Feb 28, 2017 at 12:04