having a particular folder as quick access driver

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
alain.roger
New Member
New Member
Posts: 1
Joined: 2023-12-17, 13:11 UTC

having a particular folder as quick access driver

Post by *alain.roger »

Hi,

I would like to know if there is a way to set few directories as they were "drives" so I can have a quick access to their contents without having to browse thru all their parents directories before ?

It would be great if they were displayed as they were "drives". I know I could use a net connection for that but I would like to have a different way.

In linux, we can pin them as prefered folders.
thx
Creating video is fun !
https://geni.us/CQVVM
User avatar
Dalai
Power Member
Power Member
Posts: 9395
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: having a particular folder as quick access driver

Post by *Dalai »

alain.roger wrote: 2023-12-17, 13:17 UTCIn linux, we can pin them as prefered folders.
You can do the same in TC via its directory hotlist (Ctrl+D), the button bar or the TC start menu.

You can also create substituted drives by executing

Code: Select all

subst S: C:\some\path
in a CMD window; replace drive letter and path as necessary. Be aware that these substitutions are specific to a user which means that if you run TC as administrator you won't be able to see and access drives made as a user (and vice versa). More information can be found, for example, here https://ss64.com/nt/subst.html

It's probably best to open a CMD from within TC to create or delete these substituted drives.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Fla$her
Power Member
Power Member
Posts: 2320
Joined: 2020-01-18, 04:03 UTC

Re: having a particular folder as quick access driver

Post by *Fla$her »

2alain.roger
Why not use tabs with the "Locked, but directory changes allowed" option?
You can also use Directory menu (Ctrl+D).
If you need exactly drives, then I can offer my old MountDirUnderCursorToVirtualDrive.vbs:

Code: Select all

'———————————————————————— VBS ————————————————————————
' Mount the folder under the cursor to a virtual drive
' Parameters: %P%N
'—————————————————————————————————————————————————————
Option Explicit: Dim Dir, FSO, D: Dir = WSH.Arguments(0)
Set FSO = CreateObject("Scripting.FileSystemObject")
If FSO.FolderExists(Dir) Then
   For Each D in Split("D E F G H I J K L M N O P Q R S T U V W X Y Z")
      If Not FSO.DriveExists(D) Then
         CreateObject("WScript.Shell").Run "subst " & D & ": """ & Dir & """", 0
         Exit For
      End If
   Next
End If
Set FSO = Nothing
UnmountAllFolders.vbs:

Code: Select all

'——————— VBS ————————
' Unmount all folders
'————————————————————
CreateObject("WScript.Shell").Run "%ComSpec% /q/c for /f delims^=\ %d in ('subst') do @subst /d %d", 0
Overquoting is evil! 👎
Post Reply