Button

HelloI understand the button can do a lot stuff, I tried using @command([Execute]…) to launch exe file and was ok. I tried to run exe file running on Dos mode but unsuccessfully. It doesn’t recognise the " *.exe //servername/sharename " command. Wonder if anyone had created this kind of button before…thanks a lot…

Subject: Button

You could try to create the share first using the following Lotusscript code:

Set objNetwork = CreateObject(“WScript.Network”)

objNetwork.MapNetworkDrive [drive], [ipaddress] + "" + [sharename]

Shell("cmd.exe /c " + [your command], 6)

objNetwork.RemoveNetworkDrive drive