-2
例如,我有items.txtCMD /猛砸/批處理腳本來獲得項目/過濾器
在items.txt
還有多條線路
test1=import1
test1=import2
test2=import1
test1=import3
test2=import4
test3=import2
test3=import2
test1=import1
test1=import2
test2=import1
test1=import3
test2=import4
test3=import2
test3=import2
test1=import1
test1=import2
test2=import1
test1=import3
test2=import4
test3=import2
test3=import2
test1=import1
test1=import2
test2=import1
test1=import3
test2=import4
test3=import2
test3=import2
test1=import1
test1=import2
test2=import1
test1=import3
test2=import4
test3=import2
test3=import2
我需要做的是什麼從test1,test2,test3或每個項目獲得至少1個值。並把它傳遞到另一個文本文件 - > items2.txt
,並在items2.txt
它應該是這樣的
test1
test2
test3
和他們的價值觀。
您是使用'bash'還是'cmd'?那些是兩個(非常)不同的炮彈。 – bgoldst 2015-01-26 21:57:23
您是否要求某人爲您編程?這是錯誤的網站 - 有很多其他的租用網站編碼器。 – 2015-01-26 22:09:41
我不是在這裏要求某人爲我編程。我已經有了這個代碼FORFILES/p C:\ test \/D -2/S/C「cmd/c echo isdir path」| findstr「test1」> items2.txt – tuturyokgaming 2015-01-26 22:15:04