Mar-02-2024, 07:50 AM
Gribouillis, thank you for the snipped, but it produces errors:
line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['net', 'use', 'Z:', '/delete', '/yes']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
line 94, in <module>
except CalledProcessError as ss:
NameError: name 'CalledProcessError' is not defined
Thank you!
line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['net', 'use', 'Z:', '/delete', '/yes']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
line 94, in <module>
except CalledProcessError as ss:
NameError: name 'CalledProcessError' is not defined
Thank you!