Skip to content

Add buttons in the DirectoryAdapter (unsure how?) or FileExplorer to switch drives #296

@gdementen

Description

@gdementen

This is mostly only useful on the RDS servers, but this is where the FileExplorer is most useful...

Possibly add those buttons to the Location Bar (#293)

Here is some code to list available drives using Python:

>>> import win32api
>>> drives_str = win32api.GetLogicalDriveStrings()
>>> drives = [drivestr for drivestr in drives_str.split('\000') if drivestr]
>>> drives
['C:\\', 'F:\\']

When using Python 3.12+, we can just use:

>>> import os
>>> os.listdrives()
['C:\\', 'F:\\']

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions