문제

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\

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top