I want to open a new folder in different tabs on the same window of Windows File Explorer in Windows 11, instead of opening a new window every time.
I tried to use
Start.exe C:\
Explorer.exe C: \ -W 0
Explorer.exe C: \ --windows 0
in terminal and Python.
import os
import sys
gpus = sys.argv[1]
path = os.path.realpath(gpus)
os.startfile(path)
but it always opens in a new window.