Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10073
    ralfsk
    Member

    Hi.

    I was trying to create batch file that executes
    emeditor.exe /fi “[0-9]{1,10}((;n){5}).Bn((;;[0-9]*.*n){1,50}).Fn*.*;;;;;” /x “c:test2.txt” /rw “delete” at some point but nothing happens! any ideas? I have used emeditor in batch files to execute command like emeditor.exe /fc “|” “W:HW_Iparam.txt” /rw ” ” or emeditor.exe /fc “^.* .*$” /x “W:HW_Istsumm.txt” /rw “” and the seem to work fine….

    [0-9]{1,10}((;n){5}).Bn((;;[0-9]*.*n){1,50}).Fn*.*;;;;; works in emeditor if i try to find it but not from command line =[ text file to match this string look like:

    .H
    ;
    2;Inguna4;
    ;
    ;
    013067;
    ;
    ;
    ;
    ;
    .B
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;;;;;;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;;;;;;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;;;;;;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;
    ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356;
    .F
    23,12;;;;;

    #10076
    Yutaka Emura
    Keymaster

    Hi,

    Please use EmEditor macros instead of command line options for such complicated tasks. The macros are much faster, easier to write, and easier to maintain.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.