request: open parent drive of current folder in new tab

Discuss and share scripts and script files...
Post Reply
yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

request: open parent drive of current folder in new tab

Post by yusef88 »

script to open parent drive of current folder in new tab
if i'm in H:\2013\z\ goto H: in new tab
thanks

RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: request: open parent drive of current folder in new tab

Post by RalphM »

The logic for this is quite easy:

1. Get the current path
2. Strip that string down to only the first 2/3 chars
3. Goto this location in a new tab

Done

Edit: With the new Breadcrumbs bar visible you're only a Shift+Click(on drive letter) away from your goal.
Depending on how you planned to invoke that script it might even take more clicks than that.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: request: open parent drive of current folder in new tab

Post by yusef88 »

Edit: With the new Breadcrumbs bar visible you're only a Shift+Click(on drive letter) away from your goal.
Depending on how you planned to invoke that script it might even take more clicks than that.
yes, a so simple solution and in front of my eyes all the time :shock:
very thanks RalphM :)

RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: request: open parent drive of current folder in new tab

Post by RalphM »

You're welcome!
We all help were we can...
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Post Reply