error 255 runing batch file after upgrade agent to 11.2.4

I have a Bundle running a batch file on Win7 workstations. The bundle works fine when the agent is 11.2.1 or 11.2.3.

After upgrade to 11.2.4, the same bundle post error code 255 when launch.

The batch write a temp file to user %temp% folder and problem happened only when a user have long user name (more than 8 characters).

In the batch file, the temp folder for user irms5(appl) should be c:\users\IRMS5(~1\AppData\Local\Temp but it resolve to \AppData\Locatl\Temp and failed to run.

It works if I directly run the batch with the same user name logon to the win7.

Any idea on this? I have many users with long user name.

Tags:

  • Off the top of my head I don't recall any ZCM 11.2.4 specific issues.
    Nor can I think of any reason why a longer name would cause a "T" to be added in the middle of "Local" to mess up the path.
    Maybe others have some ideas.
  • aywwong;2398682 wrote:
    I have a Bundle running a batch file on Win7 workstations. The bundle works fine when the agent is 11.2.1 or 11.2.3.

    After upgrade to 11.2.4, the same bundle post error code 255 when launch.

    The batch write a temp file to user %temp% folder and problem happened only when a user have long user name (more than 8 characters).

    In the batch file, the temp folder for user irms5(appl) should be c:\users\IRMS5(~1\AppData\Local\Temp but it resolve to \AppData\Locatl\Temp and failed to run.

    It works if I directly run the batch with the same user name logon to the win7.

    Any idea on this? I have many users with long user name.


    Sorry, I did not state it clear enough.

    the "\AppData\Local\Temp" in c:\users\IRMS5(~1\AppData\Local\Temp is consider as another arguement and caused the error in the batch.
  • Aywwong,
    > the "\AppData\Local\Temp" in c:\users\IRMS5(~1\AppData\Local\Temp is


    What is the user's name that get translated to "IRMS5(~1"

    --
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)

    Have an idea for a product enhancement? Please visit:
    http://www.novell.com/rms

  • Anders Gustafsson;2398900 wrote:
    Aywwong,
    > the "\AppData\Local\Temp" in c:\users\IRMS5(~1\AppData\Local\Temp is


    What is the user's name that get translated to "IRMS5(~1"

    --
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)

    Have an idea for a product enhancement? Please visit:
    http://www.novell.com/rms



    The user name is IRMS5(E1)A. I found that the bundle fail whenever the user name contain an ")".
  • Aywwong,
    > The user name is IRMS5(E1)A. I found that the bundle fail whenever the
    > user name contain an ")".


    OK. Must be a parsing error then. Let me try to duplicate it.

    --
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)

    Have an idea for a product enhancement? Please visit:
    http://www.novell.com/rms