<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The problem with that is it requires the enableDelayedExpansion to
    be set, which may not be a big deal. Also we still do the setlocal
    in an @if "%OS%" == "Windows_NT" setlocal block. If we could get rid
    of these NT tests then that might work.<br>
    <br>
    <div class="moz-cite-prefix">On 05/16/2013 10:41 PM, Nicklas
      Karlsson wrote:<br>
    </div>
    <blockquote
cite="mid:CAFzcPXHdZ4ckhmn=nOnrYJ-=D3ZpJLtd70Job1vww5KGPGfsEQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">When googling for the issue,&nbsp;<a
          moz-do-not-send="true"
          href="http://ss64.com/nt/delayedexpansion.html">http://ss64.com/nt/delayedexpansion.html</a>&nbsp;comes
        up (and usage of !varname!), havent't tested it though.</div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">On Fri, May 17, 2013 at 4:51 AM, James
          R. Perkins <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jperkins@redhat.com" target="_blank">jperkins@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello All,<br>
              There was an issue found with the Windows batch scripts if
              the JBOSS_HOME path had a space or a ) in it. I created a
              fix and PR to fix the issue [1].<br>
              <br>
              If anyone has any good or better ideas on how to make this
              cleaner please let me know. We are toying with the idea of
              just using an EXE instead of batch scripts, but any input
              from someone with more Windows batch scripting experience
              than me is welcome.<br>
              <br>
              [1]: <a moz-do-not-send="true"
                href="https://github.com/wildfly/wildfly/pull/4520"
                target="_blank">https://github.com/wildfly/wildfly/pull/4520</a><span
                class="HOEnZb"><font color="#888888">
                  <pre cols="72">-- 
James R. Perkins
JBoss by Red Hat</pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            wildfly-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/wildfly-dev"
              target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Nicklas Karlsson, +358 40 5062266
        <div>Vaakunatie 10 as 7, 20780 Kaarina</div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
James R. Perkins
JBoss by Red Hat</pre>
  </body>
</html>