iT邦幫忙

0

如何點擊程式時自動開啓並執行

請位各位先進!
以下是小弟的.bat檔指令, 請問要如何才能讓它自動開啓(忽略儲存)並自動執行呢?

\\10.243.15.201\oa\temp\MING\sylinkdrop.exe -silent \\10.243.15.201\oa\temp\MING\sylink_hc.xml

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

6
wiseguy
iT邦超人 1 級 ‧ 2012-01-17 11:18:42
最佳解答

試試看:

<pre class="c" name="code">C:
md sylink
cd sylink
copy \\10.243.15.201\oa\temp\MING\sylinkdrop.exe
copy \\10.243.15.201\oa\temp\MING\sylink_hc.xml
sylinkdrop.exe -silent sylink_hc.xml
echo y| del *.*
cd ..
echo y| del sylink

我要發表回答

立即登入回答