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.
 
Back
Top