I have v5.5 on my K1000.

I have a script with a run a batch file step that deletes a specific file.  The file path contains spaces so it needs quotation marks around the path.  When I run the script it does nothing.  When I edit the script the double qoutes " have been replaced with "

del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\IBM System i Access for Windows\Emulator\Create Green Screen Sessions.txt"

becomes

del "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\IBM System i Access for Windows\Emulator\Create Green Screen Sessions.txt"

Has anyone else experienced this?

2 Comments   [ + ] Show Comments

Comments

  • I have the same issue using IE, but it works fine with Chrome or Firefox.
  • I just upgraded to 5.5.90545 and now all my scripts have " instead of quotes.

    Any actual solution for this? I have many scripts that are pretty basic batch files and it would be overkill to have to create VB scripts or something to replace them.

    Is there a way to fix the current scripts I have? Is there a way to escape out special characters in scripts?
Please log in to comment

Answers

0

As a workaround, you can edit the scripts using another browser other than IE. This seems to be isoloated only to this browser. I ran into the same issue and then I started using Firefox and it seemed to resolve it for me.

Answered 11/01/2013 by: Hammer1790
Second Degree Black Belt

Please log in to comment
0

may be something simular to problem here:

http://www.itninja.com/question/5-5-agent-custom-inventory-rule

Answered 09/05/2013 by: SMal.tmcc
Red Belt

  • Thanks for the link. I tried using an escape sequence for the quotes, but that didn't help. I ended up just doing it with a VB script. I also put in a ticket as it looks to be a bug.
    • Submit a support ticket so it can be researched.
  • Doh! This is why my reboot and restart scripts have stopped running. I'm submitting a ticket as well...
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share