Passing user credentials when opening network paths with a command line

Hi,

I often use dopusrt to open UNC network paths like this:
dopusrt Go \\computer_name\folder

Each (initial) time I have to wait for a dialog and type them manually.
Is there a way to pass user credentials inside a command?

The Windows net use command can do that.

So, something like this:

net use \\computer_name\share password /user:username

In some cases the username may need to include the computer/domain.

1 Like