How to open a network folder with a password in Windows?
📁 Python
Ich muss einen Netzwerkordner im Explorer von einem Python-Skript aus öffnen.
Ich kann Netzwerkordner ohne Passwort über Startfile öffnen:
os.startfile(r"\\\\192.168.1.2\\folder")
Das Problem ist, dass ich einen Netzwerkordner mit einem Passwort öffnen muss, und dann gibt Startfile einen Fehler aus:
OSError: [WinError 86] The network password is not correct: '\\\\\\\\192.168.1.3\\\\folder'
Erstens, wo kann ich das Netzwerkpasswort angeben?
Ist es möglich, irgendwie das Standard-Passwort im Explorer-Passwort anzuzeigen?