I am trying to access a specific file in a network drive through a gateway scheduled script. And I am unable to open that drive, it always gives me the error when I am just checking to see if the drive exists using os.listdir(r’U:'): No such file or directory: ‘U:’ .
I thought it might be a problem with me mapping my network drive, but I can run the same command in the gateway script console and I am getting a proper result. Any ideas?