Page 1 of 1

Usermenu command produces an error

Posted: 08 Jul 2019, 19:57
by tjsuominen
I try to create some User menu command and the first problem arise with simple "net use" command:

Command: net use l: \\<resourcename>\share1 *)
Arguments: empty
Initial directory: C:\Temp
Options: [x] Execute through shell

Command prompt returns error: The network name cannot be found.

*) <resourcename> is existing > e.g. when pinged from command prompt it responses (and the net use command also works in Total Commander ;))

Is there something wrong in my "Salamander" Command syntax or where?

//timo

Re: Usermenu command produces an error

Posted: 08 Jul 2019, 20:29
by SvA
Hi //timo

I recommend you do not provide parameters in the command text box.

I suppose what happens is that your double backslash is reduced to one backslash somewhere along the processing sequence.

Tick [x] Open shell window
Untick [ ] Close shell window
to verify

This does not happen if you specify the parameters in the Arguments text box.

[Solved] Usermenu command produces an error

Posted: 09 Jul 2019, 09:25
by tjsuominen
That did the trick, working as expected.

Appreciated & thx :)

//timo