Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Autorun filepath

Autorun filepath

Scheduled Pinned Locked Moved General Discussion
6 Posts 4 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndreH
    wrote on last edited by AndreH
    #1

    Hi Everyone,

    I am testing Autorun, and I wanted to ask if someone had a similar experience.
    I created a file in my “Downloads”, where I have a .smc, .xml and .bat document. I am sure that the commands in the xml-file are correct and that the file paths in the batch file are corrects.

    filepaths:

    “C:\Users\AndréHerrera\Downloads\autorun\TEST.smc”

    “C:\Users\AndréHerrera\Downloads\autorun\Autorun_ARC.xml”

    When I execute the Batch-file, this is not doing anything.
    My college has exactly the same documents, and the only difference is that is name does not include a “é” or any special symbol. And for him, is it working.

    Do you think this is the real problem, or do you think it is something else?
    If this is the problem, do you have any suggestion to avoid this?

    @Solibrians

    Thank you in advance

    1 Reply Last reply
    0
    • JSNJ Offline
      JSNJ Offline
      JSN
      wrote on last edited by
      #2

      The é is the problem.

      1 Reply Last reply
      1
      • P Offline
        P Offline
        Pasi Paasiala Solibrians
        wrote on last edited by
        #3

        Please make sure that your file is encoded in UTF-8 and that you have this in your header:

        <?xml version="1.0" encoding="utf-8"?>
        
        1 Reply Last reply
        0
        • A Offline
          A Offline
          AndreH
          wrote on last edited by
          #4

          @Pasi-Paasiala thank you for the hint.
          I change it, but still it did not work. I will try resetting my windows account without the “é”.

          JSNJ 1 Reply Last reply
          0
          • JSNJ Offline
            JSNJ Offline
            JSN
            replied to AndreH on last edited by
            #5

            @AndreH @Pasi-Paasiala

            The problem is that the batch file is not beeing executed due to the special character in the user path. Not sure how the batch file is used but to test you could also create a symlink to a path without the é … see also here for a pretty similiar problem https://superuser.com/questions/1676567/how-to-use-special-characters-from-bat-file-in-windows
            This often also happens with umlauts or space characters. If the path can be changed, great, but maybe also the batch file can be improved to handle such exceptions.

            tl;dr: Creating a User without a special character is a workaround. Probably there is also (the need or) a way to make the batch file smarter for your usecase.

            1 Reply Last reply
            0
            • MattiM Offline
              MattiM Offline
              Matti Solibrians
              wrote on last edited by Matti
              #6

              Just tested this a bit:
              By using west european encoding I got “é” working in the path:

              <?xml version="1.0" encoding="ISO-8859-1"?>
              

              Check the auorun log for details:

              C:\Program Files\Solibri\SOLIBRI-9.13.5\log\autorun.log
              

              When there is UTF-8 as encoding and the file is not UTF-8 encoded then you will get this kind of error:

              “org.jdom2.input.JDOMParseException: Error on line 6 of document file:/C:/Users/Downloads/autorun-test.xml: Invalid byte 2 of 3-byte UTF-8 sequence.”

              1 Reply Last reply
              1

              Copyright © 2025 Solibri Inc. | Powered by NodeBB

              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories