title: Lotus Notes - lotusscript: shell function: illegal function call
body: <p>I have a problem: I want to run a file from lotusscript code:</p>
  
  <pre><code>    Dim result As Integer
      result = Shell("D:\testF.dsx", 1)
  </code></pre>
  
  <p>And I get the following error: Illegal function call.</p>
  
  <p>If I want to execute it from formula it works: </p>
  
  <p>@Command([Execute]; "D:\\testF.dsx")</p>
  
  <p>Thanks a lot!</p>