Front Page Forums BioMap install-win.bat file problem Re:install-win.bat file problem

Kenneth Chan

Hello everyone,

The problem is how windows batch files handles spaces. When windows encounters a space in the condition of an if statement, it expects to see an operator… even if it is around quotation marks. Open a command line window and try this:

Type :

If ‘bob’==’bob’ echo true

Then try:

If ‘bob is’==’bob is’ echo it will never work

The only work around is to make sure all the files are at the right place, rem out the first if statement and add the line goto usave

I’m sure there is another way to do this ie. Some env switch that will use short names, but I can’t find it….


PS My message box is tiny!!!!