Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
aywwong Absent Member.
Absent Member.
807 views

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.
Labels (2)
0 Likes
5 Replies
Micro Focus Expert
Micro Focus Expert

Re: error 255 runing batch file after upgrade agent to 11.2

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.
--
Please give a hearty thumbs up to any post you find helpful!
To find articles by Craig Wilson simply follow the link: Craig Wilson's Tips!
0 Likes
aywwong Absent Member.
Absent Member.

Re: error 255 runing batch file after upgrade agent to 11.2

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.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: error 255 runing batch file after upgrade agent to 11.2.4

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

0 Likes
aywwong Absent Member.
Absent Member.

Re: error 255 runing batch file after upgrade agent to 11.2

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 ")".
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: error 255 runing batch file after upgrade agent to 11.2.4

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

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.