Announcement

Collapse
No announcement yet.

double slash c:\\ how to get rid of it

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • double slash c:\\ how to get rid of it

    HI,

    How to get rid of the \\ in path.

    when i use %Appdir%dir1
    it gives me like this:

    c:\\my\\app\\dir\dir1

    i dont want the doulbe slashes.

    thanks
    daniel

  • #2
    Re: double slash c:\\ how to get rid of it

    I'm not sure how you are receiving these double slashes in the first place. Perhaps you can give a little more information as to where you are receiving the path string for %AppDir%.

    ------------------
    Sincerely,

    Darryl Hnatiuk
    Indigo Rose Corporation

    Comment


    • #3
      Re: double slash c:\\ how to get rid of it

      Funnily enough I have the opposite problem i would need to produce double slashes as e.g.java binary path needs it as a slash is a "forbidden" character but you can present it with a leading slash. what i would need is java.binarypath=c:\\programdir\\path\\JRE\\1.3.1\\ bin\\hotspot\\jvm.dll and not java.binarypath=c:\prgramdir\path\\JRE\\1.3.1\\bin \\hotspot\\jvm.dll
      The Parse path seems not to offer this.
      Cheers
      Tom

      Comment


      • #4
        Re: double slash c:\\ how to get rid of it

        what i did was, i read from the registry an install path.

        %MyInstallPath%=%Appdir%

        and i use %Appdir% to write the path to my ini file. This is where i get the double slashes.

        Comment


        • #5
          Re: double slash c:\\ how to get rid of it

          Hi,

          If you place %AppDir% on a screen does it display double slashes? Or do the double slashes only appear when you write to an INI file? What about the registry value does it have double slashes in it as well?

          mark.
          MSI Factory The Next Generation Intelligent Setup Builder

          Comment

          Working...
          X