Problem zipping files using arj32.exe using shell command

Discussion in 'AutoCAD' started by Marcel Janmaat, Mar 10, 2005.

  1. I use arj32.exe to zip some files in to one file.

    (setq H_cadprg "C:\\HCAD\\") (setq H_cadctr "H:\\HCAD\\")
    (command "sh" (strcat H_cadprg "hlp\\arj32" " a " H_cadctr "HCAD.apu" " "
    H_cadprg "*.*"))

    Only now my path has become "C:\\Program files\\HCAD\\" wich causes the
    command to malfunction.

    I tried;
    (command "sh" (strcat "\"" H_cadprg "hlp\\arj32\"" " a " H_cadctr
    "HCAD.apu" " \"" H_cadprg "*.*\""))

    But this is probably not exepted by te ARJ32 command. Beceause it still
    doesn't work.
    Probably still sees the space between "Program files" as a separation of
    parameters.

    Has anyone got a clue on how to solve this??? Or maby a different
    program/code to zip the files in to one...?

    Thanx in advance

    M
     
    Marcel Janmaat, Mar 10, 2005
    #1
  2. eTransmit will zip the files if you tell it to.

    --
    R. Robert Bell



    I use arj32.exe to zip some files in to one file.

    (setq H_cadprg "C:\\HCAD\\") (setq H_cadctr "H:\\HCAD\\")
    (command "sh" (strcat H_cadprg "hlp\\arj32" " a " H_cadctr "HCAD.apu" " "
    H_cadprg "*.*"))

    Only now my path has become "C:\\Program files\\HCAD\\" wich causes the
    command to malfunction.

    I tried;
    (command "sh" (strcat "\"" H_cadprg "hlp\\arj32\"" " a " H_cadctr
    "HCAD.apu" " \"" H_cadprg "*.*\""))

    But this is probably not exepted by te ARJ32 command. Beceause it still
    doesn't work.
    Probably still sees the space between "Program files" as a separation of
    parameters.

    Has anyone got a clue on how to solve this??? Or maby a different
    program/code to zip the files in to one...?

    Thanx in advance

    M
     
    R. Robert Bell, Mar 10, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.