Jump to content
Ketarin forum

B@T

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by B@T

  1. I tried 3 backslashes as CybTekSol suggested, but it's not working too.

     

    floele, well, it's a perfect workaround, but i think in the bugs topic, we prefer concentrate on the problem which demonstrated by the example.

     

    Oh, and i tried some other regexp patterns, and i also can't use colon in it, because Ketarin thinks, it's a separator, and i can't escape it with backslash(es).

  2. I tried to make a regular expression with a backslash in it. For example: {file:regex:[^\\].*$} should return the filename from a filepath. But if i put the backslash in the regular expression, it returns an empty string.

  3. No, it's working well without the last backslash from command line.

     

    I think i know what is the problem. Well, I didn't write that because I thought it's not relevant, but I'm not english (maybe you found this out from my bad english :)), so my Windows is not english too. And the command won't run because there's a special character in the path of the file, and command line uses different codepage. Let me explain this with this example:

     

    Commands:

    echo "{file:directory}:" > debug.txt
    dir /b "{file:directory}" >> debug.txt
    echo ---------- >> debug.txt
    echo "C:\Documents and Settings\Baksa ?va\Dokumentumok\installerek\programok:" >> debug.txt
    dir /b "C:\Documents and Settings\Baksa ?va\Dokumentumok\installerek" >> debug.txt
    echo ---------- >> debug.txt
    

     

    debug.txt:

    "C:\Documents and Settings\Baksa Éva\Dokumentumok\installerek\programok:" 
    ---------- 
    "C:\Documents and Settings\Baksa ?va\Dokumentumok\installerek\programok:" 
    7z465.exe
    abevjava_install.jar
    ccsetup232.exe
    cdbxp_setup_4.3.2.2140.exe
    dopdf-7.exe
    ebank2_setup_142.download.exe
    ezim-1.2.7.zip
    FoxitReader331_enu_Setup.exe
    FTS_SystemDiagnostics_2040006_1034397.EXE
    hotspotfinder-bin.zip
    install_flash_player.exe
    install_flash_player_ax.exe
    ir050.exe
    jre-6u20-windows-i586.exe
    Ketarin-1.1.0.331.zip
    MsgPlusLive-484.exe
    msicuu2.exe
    pc-wizard_2010.1.94-setup.exe
    SeaMonkey Setup 2.0.4.exe
    setup_av_free.exe
    SkypeSetup.exe
    tcmd750a.exe
    tuxguitar-1.2-windows-x86-installer.exe
    UltraVNC_1.0.8.2_Setup.exe
    unlocker1.8.9.exe
    vlc-1.0.5-win32.exe
    WindowsDefender.msi
    wlsetup-all.exe
    ---------- 
    

     

    (On the place of the question marks, there's an another char, which is in the ascii codepage, but not in latin or unicode codepages.)

     

    Well, I don't have any idea, how can I solve this problem. Maybe I can workaround it using a junction point. Do you have any idea?

  4. Hi,

     

    I set up Ketarin to run a default command for each updated aplication. The command is:

    move /y "{file}" "C:\Documents and Settings\User\Documents\installers\installable"
    

     

    (That way I can seperate updated applications from all aplications, so I can install them later.)

     

    But updated applications stay at the all application's folder.

     

    If I run the command manually on an updated file, everything works well.

     

    So I added some debug to the command:

    echo move /y "{file}" "C:\Documents and Settings\User\Documents\installers\installable" > debug.txt
    notepad.exe debug.txt
    

     

    And after an update, notepad.exe opens debug.txt which contains this:

    move /y "C:\Documents and Settings\User\Documents\installers\unlocker1.8.9.exe" "C:\Documents and Settings\User\Documents\installers\installable" 
    

     

    So it looks like everything is ok. If you have any idea what is the problem, please help.

     

    PS: I have an anouther computer, and I installed Ketarin on it and configured the same way, and the move command works just fine. I can't understand...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.