@Command[(Execute)] problem

Hi

I am using a button with the following formula. Its a simple formula to access a network share

@Command([Execute]; “cmd”; “/k net use \10.2.10.19\ipc$”)

I get the reply that the server name is invalid. The \ before the ipc$ disappears whenever i press the button.

If i type this command on the command line, it works fine.

On the other hand if i use the formula

@Command([Execute]; “cmd”; “/k ipconfig /all”) it works

Am i entering something wrong?

Subject: @Command[(Execute)] problem

In formula language backslash is an escape character, so you have to put double backslashes when you want to actually use a backslash as part of a string, i.e.:

@Command([Execute]; “cmd”; “/k net use \\10.2.10.19\ipc$”)

Emily