在 dos 下鍵入下述指令
cd \program files\google\chrome\application
chrome http://las.pfeg.noaa.gov/OceanWatch-bin/LASserver.pl?xml=%3C%3Fxml%20version%3D%221%2E0%22%3F%3E%3ClasRequest%20href%3D%22file%3Alas%2Exml%22%3E%3Clink%20match%3D%22%2Flasdata%2Foperations%2Fshade%22/%3E%3Cproperties%3E%3Cferret%3E%3Cformat%3Eshade%3C%2Fformat%3E%3Csize%3E%2E35%3C%2Fsize%3E%3Cuse_ref_map%3Efalse%3C%2Fuse_ref_map%3E%3Cscript_prefix%3Enolabelnoaspect%3C%2Fscript_prefix%3E%3C%2Fferret%3E%3C%2Fproperties%3E%3Cargs%3E%3Clink%20match%3D%22%2Flasdata%2Fdatasets%2FAG%2Fvariables%2Fssta8day%22%2F%3E%3Cregion%3E%3Crange%20type%3D%22x%22%20low%3D%22114%22%20high%3D%22128%22/%3E%3Crange%20type%3D%22y%22%20low%3D%2216%22%20high%3D%2230%22%2F%3E%3Cpoint%20type%3D%22t%22%20v%3D%2216%2DJUN%2D2009%2000%3A00%22%2F%3E%3C%2Fregion%3E%3C%2Fargs%3E%3C%2FlasRequest%3E
按下enter執行會show 張圖在螢幕上,如何寫入disk 並指定寫入的directory
cd \program files\libwww loadtofile http://las.pfeg.noaa.gov/OceanWatch-bin/LASserver.pl?xml=%3C%3Fxml%20version%3D%221%2E0%22%3F%3E%3ClasRequest%20href%3D%22file%3Alas%2Exml%22%3E%3Clink%20match%3D%22%2Flasdata%2Foperations%2Fshade%22/%3E%3Cproperties%3E%3Cferret%3E%3Cformat%3Eshade%3C%2Fformat%3E%3Csize%3E%2E35%3C%2Fsize%3E%3Cuse_ref_map%3Efalse%3C%2Fuse_ref_map%3E%3Cscript_prefix%3Enolabelnoaspect%3C%2Fscript_prefix%3E%3C%2Fferret%3E%3C%2Fproperties%3E%3Cargs%3E%3Clink%20match%3D%22%2Flasdata%2Fdatasets%2FAG%2Fvariables%2Fssta8day%22%2F%3E%3Cregion%3E%3Crange%20type%3D%22x%22%20low%3D%22114%22%20high%3D%22128%22/%3E%3Crange%20type%3D%22y%22%20low%3D%2216%22%20high%3D%2230%22%2F%3E%3Cpoint%20type%3D%22t%22%20v%3D%2216%2DJUN%2D2009%2000%3A00%22%2F%3E%3C%2Fregion%3E%3C%2Fargs%3E%3C%2FlasRequest%3E -o filename.txt
一般簡單的網頁或圖片
可以使用Loadtofile取得
下載後安裝
就可以使用loadtofile.exe
使用範例如下:
<pre class="c" name="code">
loadtofile http://ithelp.ithome.com.tw -o ithelp.html
loadtofile http://ithelp.ithome.com.tw/images/logo.png -o logo.png
然而我看您題目中所給的參數
會得到
<pre class="c" name="code">
http://las.pfeg.noaa.gov:80/OceanWatch-output/6936a4b246cc4ae545e6f9d011e5fcd6.gif
的圖片網址
看起來像是"變動"(不像Logo那種固定的網址)
雖然可以用
<pre class="c" name="code">
loadtofile http://las.pfeg.noaa.gov:80/OceanWatch-output/6936a4b246cc4ae545e6f9d011e5fcd6.gif -o mypic.gif
的方式取得圖片
不過如果要達到您百分之百的需求
恐怕還是得寫點程式
謝謝快速回應,因要趕出門,先簡覆, (1) 對,該圖是每次執行時產生,有圖檔名.gif在對方網站上,你說的軟體已下載,週一再試 (2)你在上面有直接用到那產生圖檔的名字,請問如何取得, 如果能當參數般傳回就可代入你上面那指令儲存 rihgt ?
(3) 我記得以前dos可以指向 crt or Dsk output,此例中, 直接要它寫入disk 不成嗎, (4)當然實在不行寫程式要看寫那一種, 其實都ok, 請指點一二,
祝週末愉快