I have an application in which I would like to run many executables using a batch file (in my case a program called AMDIS, http://chemdata.nist.gov/mass-spc/amdis/downloads/). On the Windows command prompt it works if I type
C:\NIST08\AMDIS32\AMDIS_32.EXE C:\Users\Ento\Documents\GCMS\test_cataglyphis_iberica\queens\CI23_Q_120828_01.CDF /S /E
where AMDIS_32 is the program I want to run and C:\Users\Ento\Documents\GCMS\test_cataglyphis_iberica\queens\CI23_Q_120828_01.CDF the file I want it to analyze and /S /E some opions.
Now I would like to make these calls repeatedly using a batch file in Windows 7. I tried making a batch file with
START C:\NIST08\AMDIS32\AMDIS_32.EXE C:\Users\Ento\Documents\GCMS\test_cataglyphis_iberica\queens\CI23_Q_120828_01.CDF /S /E
but this doesn't seem to work. Does anyone know how I should do this?
cheers, Tom
EDIT: based on the info in forum http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/fdb993d9-6a9c-4459-aedb-0283f2d6935d I found that my mistake had to do with saving my batch file in UNICODE rather than ANSI encoding - now it works - thanks to you all!!
:X
C:\NIST08\AMDIS32\AMDIS_32.EXE C:\Users\Ento\Documents\GCMS\test_cataglyphis_iberica\queens\CI23_Q_120828_01.CDF /S /E
goto X
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With