0

I've been here and here but I'm still unable to connect to shared drive.

The disk is in the form of company (\\server.name.company) (V:). This works:

open("V:\path\to\file.txt")

and this doesn't

open("\\server.name.company\path\to\file.txt")

I'm losing my mind because I believe I did the exact same thing as in linked answers, so I've also tried

open("//server.name.company/path/to/file.txt")

I've checked for server name typos, but that doesn't seem to be the case. What else could be the problem here?

Kropiciel
  • 75
  • 6
  • It's probably that you don't specify which disk drive to go to... maybe? So the `V:` part goes first instead of the other locations. – Pythoneer Dec 29 '22 at 12:27

1 Answers1

0

I feel that this is ridiculous, but the preceeding company in company (\\server.name.company) (V:) had to be added to the path in this manner:

open("//server.name.company/company/path/to/file.txt")

I wonder why that is, but since that detail was omitted in linked answers I guess it has something to do with how my disk was mapped.

Kropiciel
  • 75
  • 6