On 8/22/07, Gianni Turri wrote: > >Garry > > I have created a batch file named MyProgramCmd.bat with three way to pass > parameters: > > MyProgram.exe 12345678 /Option1 /Option2 > result: > tcMarketId = 12345678, tcParam1 = /Option1, tcParam2 = /Option2, tcParam3 = > .F. > > MyProgram.exe 12345678/Option1/Option2 > result: > tcMarketId = 12345678/Option1/Option2, tcParam1 = .F., tcParam2 = .F., > tcParam3 = .F. > > MyProgram.exe "12345678 /Option1 /Option2" > result: > tcMarketId = 12345678 /Option1 /Option2, tcParam1 = .F., tcParam2 = .F., > tcParam3 = .F. > > Gianni
Hi Gianni, Yup, you're right. My program wasn't iterating through the parameters correctly. Grrr... Obviously I've picked a bad week to stop sniffing glue. Cheers, Garry "If at first you don't succeed, skydiving isn't for you." _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

