本帖最后由 lateol 于 2013-5-28 18:12 编辑
- pushd "==NC==\"
- ::===D===
- fr *.TXT *.NC -r:"***:( DIA. = 21.000 R = 0.8000 )" -t:"Cutter Name: D21R0.8"
- fr *.TXT *.NC -r:"***:( DIA. = 20.000 R = 1.0000 )" -t:"Cutter Name: D20R1"
- fr *.TXT *.NC -r:"***:( DIA. = 20.000 R = 000000 )" -t:"Cutter Name: D20"
- fr *.TXT *.NC -r:"***:( DIA. = 17.000 R = 0.8000 )" -t:"Cutter Name: D17R0.8"
- fr *.TXT *.NC -r:"***:( DIA. = 12.000 R = 0.5000 )" -t:"Cutter Name: D12R0.5"
- fr *.TXT *.NC -r:"***:( DIA. = 12.000 R = 0.2000 )" -t:"Cutter Name: D12R0.2"
- fr *.TXT *.NC -r:"***:( DIA. = 12.000 R = 000000 )" -t:"Cutter Name: D12"
- fr *.TXT *.NC -r:"***:( DIA. = 10.000 R = 0.5000 )" -t:"Cutter Name: D10R0.5"
- fr *.TXT *.NC -r:"***:( DIA. = 10.000 R = 0.2000 )" -t:"Cutter Name: D10R0.2"
- fr *.TXT *.NC -r:"***:( DIA. = 10.000 R = 000000 )" -t:"Cutter Name: D10"
- fr *.TXT *.NC -r:"***:( DIA. = 8.000 R = 0.5000 )" -t:"Cutter Name: D8R0.5"
- fr *.TXT *.NC -r:"***:( DIA. = 8.000 R = 0.2000 )" -t:"Cutter Name: D8R0.2"
- fr *.TXT *.NC -r:"***:( DIA. = 8.000 R = 000000 )" -t:"Cutter Name: D8"
- fr *.TXT *.NC -r:"***:( DIA. = 6.000 R = 0.5000 )" -t:"Cutter Name: D6R0.5"
- fr *.TXT *.NC -r:"***:( DIA. = 6.000 R = 0.2000 )" -t:"Cutter Name: D6R0.2"
- fr *.TXT *.NC -r:"***:( DIA. = 6.000 R = 000000 )" -t:"Cutter Name: D6"
- fr *.TXT *.NC -r:"***:( DIA. = 4.000 R = 0.5000 )" -t:"Cutter Name: D4R0.5"
- fr *.TXT *.NC -r:"***:( DIA. = 4.000 R = 0.2000 )" -t:"Cutter Name: D4R0.2"
- fr *.TXT *.NC -r:"***:( DIA. = 4.000 R = 000000 )" -t:"Cutter Name: D4"
- fr *.TXT *.NC -r:"***:( DIA. = 3.000 R = 0.2000 )" -t:"Cutter Name: D3R0.2"
- fr *.TXT *.NC -r:"***:( DIA. = 3.000 R = 000000 )" -t:"Cutter Name: D3"
- fr *.TXT *.NC -r:"***:( DIA. = 2.000 R = 000000 )" -t:"Cutter Name: D2"
- fr *.TXT *.NC -r:"***:( DIA. = 1.000 R = 000000 )" -t:"Cutter Name: D1"
- ::===R===
- fr *.TXT *.NC -r:"***:( DIA. = 12.000 R = 6.0000 )" -t:"Cutter Name: D12R6"
- fr *.TXT *.NC -r:"***:( DIA. = 10.000 R = 5.0000 )" -t:"Cutter Name: D10R5"
- fr *.TXT *.NC -r:"***:( DIA. = 8.000 R = 4.0000 )" -t:"Cutter Name: D8R4"
- fr *.TXT *.NC -r:"***:( DIA. = 6.000 R = 3.0000 )" -t:"Cutter Name: D6R3"
- fr *.TXT *.NC -r:"***:( DIA. = 4.000 R = 2.0000 )" -t:"Cutter Name: D4R2"
- fr *.TXT *.NC -r:"***:( DIA. = 3.000 R = 1.5000 )" -t:"Cutter Name: D3R1.5"
- fr *.TXT *.NC -r:"***:( DIA. = 2.000 R = 1.0000 )" -t:"Cutter Name: D2R1"
- fr *.TXT *.NC -r:"***:( DIA. = 1.5000 R = 0.7500 )" -t:"Cutter Name: D1.5R0.75"
- fr *.TXT *.NC -r:"***:( DIA. = 1.000 R = 0.5000 )" -t:"Cutter Name: D1R0.5"
- fr *.TXT *.NC -r:"***:( DIA. = 0.6000 R = 0.3000 )" -t:"Cutter Name: D0.6R0.3"
- fr *.TXT *.NC -r:"***:( DIA. = 0.5000 R = 0.2500 )" -t:"Cutter Name: D0.5R0.25"
-
- ::====================TZE================================
- fr *.TXT *.NC -r:"***:Dia:21.00 Tip Radius:.8" -t:"Cutter Name: D21R0.8"
- fr *.TXT *.NC -r:"***:Dia:20.00 Tip Radius:1" -t:"Cutter Name: D20R1"
- fr *.TXT *.NC -r:"***:Dia:17.00 Tip Radius:.8" -t:"Cutter Name: D17R0.8"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:6" -t:"Cutter Name: D12R6"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:.5" -t:"Cutter Name: D12R0.5"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:.2" -t:"Cutter Name: D12R0.2"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:5" -t:"Cutter Name: D10R5"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:.5" -t:"Cutter Name: D10R0.5"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:.2" -t:"Cutter Name: D10R0.2"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:4" -t:"Cutter Name: D8R4"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:.5" -t:"Cutter Name: D8R0.5"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:0.2" -t:"Cutter Name: D8R0.2"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:3" -t:"Cutter Name: D6R3"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:.5" -t:"Cutter Name: D6R0.5"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:.2" -t:"Cutter Name: D6R0.2"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:2" -t:"Cutter Name: D4R2"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:.5" -t:"Cutter Name: D4R0.5"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:.2" -t:%2
复制代码 不好意思 代码没贴完整- ::====================TZE================================
- fr *.TXT *.NC -r:"***:Dia:21.00 Tip Radius:.8" -t:"Cutter Name: D21R0.8"
- fr *.TXT *.NC -r:"***:Dia:20.00 Tip Radius:1" -t:"Cutter Name: D20R1"
- fr *.TXT *.NC -r:"***:Dia:17.00 Tip Radius:.8" -t:"Cutter Name: D17R0.8"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:6" -t:"Cutter Name: D12R6"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:.5" -t:"Cutter Name: D12R0.5"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:.2" -t:"Cutter Name: D12R0.2"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:5" -t:"Cutter Name: D10R5"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:.5" -t:"Cutter Name: D10R0.5"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:.2" -t:"Cutter Name: D10R0.2"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:4" -t:"Cutter Name: D8R4"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:.5" -t:"Cutter Name: D8R0.5"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:0.2" -t:"Cutter Name: D8R0.2"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:3" -t:"Cutter Name: D6R3"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:.5" -t:"Cutter Name: D6R0.5"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:.2" -t:"Cutter Name: D6R0.2"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:2" -t:"Cutter Name: D4R2"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:.5" -t:"Cutter Name: D4R0.5"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:.2" -t:"Cutter Name: D4R0.2"
- fr *.TXT *.NC -r:"***:Dia:3.00 Tip Radius:1.5" -t:"Cutter Name: D3R1.5"
- fr *.TXT *.NC -r:"***:Dia:3.00 Tip Radius:.2" -t:"Cutter Name: D3R0.2"
- fr *.TXT *.NC -r:"***:Dia:2.00 Tip Radius:1" -t:"Cutter Name: D2R1"
- fr *.TXT *.NC -r:"***:Dia:1.00 Tip Radius:.5" -t:"Cutter Name: D1R0.5"
- fr *.TXT *.NC -r:"***:Dia:1.500 Tip Radius:.75" -t:"Cutter Name: D1.5R0.75"
- fr *.TXT *.NC -r:"***:Dia:0.600 Tip Radius:.3" -t:"Cutter Name: D0.6R0.3"
- fr *.TXT *.NC -r:"***:Dia:0.500 Tip Radius:.25" -t:"Cutter Name: D0.5R0.25"
-
- fr *.TXT *.NC -r:"***:Dia:20.00 Tip Radius:0" -t:"Cutter Name: D20"
- fr *.TXT *.NC -r:"***:Dia:12.00 Tip Radius:0" -t:"Cutter Name: D12"
- fr *.TXT *.NC -r:"***:Dia:10.00 Tip Radius:0" -t:"Cutter Name: D10"
- fr *.TXT *.NC -r:"***:Dia:8.00 Tip Radius:0" -t:"Cutter Name: D8"
- fr *.TXT *.NC -r:"***:Dia:6.00 Tip Radius:0" -t:"Cutter Name: D6"
- fr *.TXT *.NC -r:"***:Dia:4.00 Tip Radius:0" -t:"Cutter Name: D4"
- fr *.TXT *.NC -r:"***:Dia:3.00 Tip Radius:0" -t:"Cutter Name: D3"
- fr *.TXT *.NC -r:"***:Dia:2.00 Tip Radius:0" -t:"Cutter Name: D2"
- fr *.TXT *.NC -r:"***:Dia:1.00 Tip Radius:0" -t:"Cutter Name: D1"
-
- ::====================TZE2================================
- fr *.TXT *.NC -r:"***:TOOL NAME =" -t:"Cutter Name:"
-
- for %%a in (D21R0.8 D20R1 D17R0.8 D12R6 D12R0.5 D12R0.2 D10R5 D10R0.5 D10R0.2 D8R4 D8R0.5 D8R0.2 D6R3 D6R0.5 D6R0.2 D4R2 D4R0.5 D4R0.2 D3R1.5 D3R0.2 D2R1 D1R0.5 D0.6R0.3 D0.5R0.25 D20 D12 D10 D8 D6 D4 D3 D2 D1 R6 R5 R4 R3 R2 R1 R0.75 R0.5) do (
- for /f "delims=:" %%b in ('findstr /ic:"Cutter Name: %%a" *.NC') do (
- md "%%a" 2>nul
- move "%%b" "%%a\"
- )
- )
- echo ============【============处理完毕...============】============
- GOTO QQ
复制代码
|