M
Matthias Tacke
cmdow takes the top most window first, that should be the most recentlyGary said:Matthias Tacke said:At the cost of an additonal dependency I changed my already posted
commandline to make the folder of the mru explorer window the current.Create/change shortcuts for cmd.exe with this line:
CMD.EXE /K for /F "tokens=8,*" %A in ('cmdow /T /F^|findstr "explorer [A-Z]:"^|linex -h 1') do @pushd %B
What happens if more than one explorer windows is open?
used. My other posting takes all windows, but with a single line it's
not possible to revert the order, so you may tkae the batch with menu if
it's not the mru explorer window you are after.
HTH