Batch file runs in win32 but not win64

mahmoodn

New Member
Hi,
I have a batch file that works under windows 7 32bit but not windows 7 64bit. When the script is executing this line:
Code:
findstr /m "MODEL1" "%MODELER_DIR%"\gui\en-us\UIDL\*.dat
in the 32bit version I see this output:
Code:
D:\mahmood>findstr /m "MODEL1" "C:\Program Files\MODELER Inc\v10\MODELER"\gui\en-us\UIDL\*.dat

which is normal. However when I it comes to 64bit, I get this error:
Code:
 D:\mahmood>findstr /m "MODEL1" "C:\Program Files (x86)\MODELER Inc\v10\MODELER"\gui\en-us\UIDL\*.dat
\MODELER was unexpected at this time.
What is wrong then? I think () caused a problem. right?

trans.gif
 

My Computer

Back
Top