Thread Rating:
  • 422 Vote(s) - 2.87 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurlでExcelを開く際に多重起動をしてしまう
08-22-2013, 04:26 PM,
#5
RE: CurlでExcelを開く際に多重起動をしてしまう
ダブルクォートで囲めばいけるかなと思ったのですが、コマンドプロンプトが開くだけでうまくいかず・・・
と思ったら、START コマンドでは、ダブルクォートでパスを渡す場合は、「タイトル」が必要とのこと。

下記コードでいけました

Code:
{define-proc public {execute-excel excel-url:Url}:void
    {if-non-null {excel-url.resolve } then
        {spawn-host-shell
            "START " & " \"title\"    \"" & excel-url.full-filename &  "\"",
            suppress-console-window? = true
        }
    }
  }




Messages In This Thread
RE: CurlでExcelを開く際に多重起動をしてしまう - by umemura - 08-22-2013, 04:26 PM
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('840')