第一次寫帶引數的bat

2021-04-01 01:50:46 字數 1035 閱讀 3631

呵呵,工作了這麼多年,還真沒寫過:)

這次嘗試一下...

if "%1"=="" goto nobldnumber

set bldnum=%1

set targetroot=d:/sd

if not "%2"=="" set targetroot=%2

set targetpath=%targetroot%/target/debug/i386

rem localassemblies

rem mita

set mitafiles=%targetroot%/private/cs/test/tools/ext/mita/latest/*.dll

copy /y/d %mitafiles% %targetpath%

rem picasso

set picassofiles=%targetroot%/private/cs/test/tools/ext/picasso/latest/*.dll

copy /y/d %picassofiles% %targetpath%

rem remote dlls

set fullbuildnum=6.0.%bldnum%.0

set roppath=//ebizrel/home/release/goldeneye/x86/%fullbuildnum%/en/build/debug/***merce/test/ui/

set orderuihelpersource=%roppath%ordersui/ordersuihelper/ordersuihelper.dll

set uihelpersource=%roppath%uihelper/uihelper.dll

copy /y/d %orderuihelpersource% %targetpath%

copy /y/d %uihelpersource% %targetpath%

goto exit

:nobldnumber

echo [fail] no build number

pause

:exit

我的第一次寫部落格

資料型別有整型 浮點型 字元型 1.整型有兩種區分一種按照有無符號另一種是按照所佔記憶體區分 有符號整型和無符號整型 整型 整數 singed 有符號整型 可以是正數也可以是負數例如可以是 5和 5 unsinged 無符號整型 只能是正數不能是負數例如 5 按照所佔記憶體區分 short短整型 佔...

第一次寫移動端的心得

寫手機端的總結 剛開始的時候不知道如何下手,尤其糾結於,怎麼自適應,怎麼響應式。雖然現在還是有些模糊,不過至少自己還是有一些瞭解。媒介查詢 這個東西在手機中用的比較多,具體來說,當在不同的視窗大小時,查詢相應的css樣式表。這個是我寫東西里面用的比較多,但是也就知道了這麼多。其實還有很多屬性,有待進...

第一次用Python寫的冒泡

usr bin env python coding utf 8 python 2.7.0 while 1 print 請問您想輸入幾個數字進行大小排序 nums input if nums 1 break elif 0 nums 1 print 輸入的數字太少了,請重新輸入 continue els...

記錄自己第一次寫的快取

這是我第一次接觸到快取這一個功能,不是寫在redis上,而是在記憶體上,利用list集合。在這次 的編寫中讓我對list集合更加的熟悉。以此記錄我的成長。repository value ordertypedetaildao public class ordertypedetaildao exten...

python 第一次寫爬蟲的總結

背景 學長帶著學python,自己先看了一遍基礎知識。然後學長開始帶著上手爬蟲。爬取這個 上的 遊戲 分類下的 我爬的時候,在這個分類下共62頁 小結import requests 失敗 失敗 e 如下 失敗 失敗 e 在做第一個任務的時候,因為剛剛接觸,很不熟悉,在最開始分析網頁的時候沒有分析好,...