I want to set Windows Explorer startup path with python.
like this. %windir%\\explorer.exe C:\\Users.This is a global setting.
it's need pywin32 or cmd or regedit?
please help me。 thanks
That link in your comment looks to be modifying a .lnk
shortcut file's target property.
Python with PyWin32:
or PowerShell:
The default explorer link might be in C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.