bug in expansion to short names?

  • Thread starter Thread starter clyclopedic
  • Start date Start date
C

clyclopedic

Can anyone explain why the following produces 'foofoo' at the end?

---------------------- cut -----------------------------
@ECHO ON
CLS

cd \
SET WL_HOME=\product files\elevenchars\1.2.3\foo
mkdir "%WL_HOME%"
FOR %%i IN ("%WL_HOME%") DO SET WL_HOME=%%~fsi
---------------------- cut -----------------------------
 
Thank you for that. I did search before I posted, but didn't find that
thread or anything else. Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top