Multiple ShellExecute()

While running below code on autoexplorer, I am getting only one shell execution window, however if there are 10 results then, I want it to execute 10 orders. Suggestions will be helpful.

buyvar=writeIf(Buy,"1","0");

SCRIP_NAME1 = Name();
SCRIP_NAME2 = StrReplace( SCRIP_NAME1, "-I", "" );
//SCRIP_NAME2 = StrReplace( SCRIP_NAME1, "_1M", "" );
//SCRIP_NAME3 = StrReplace( SCRIP_NAME2, "-", "" );
//SCRIP_NAME = StrReplace( SCRIP_NAME3, "&", "" );
EXNGNAME="NSE";
INNAME="EQ";
//Long_Entry_Price
Long_Trade_Quantity=
Long_Trade_Quantity = LastValue ( StaticVarGet( "#Long_Trade_Quantity" + Name() ));
Long_Trade_Quantity=1;


if( Buyvar == "1" )
{
bb=buyvar;
		//AddColumn(Buy,"Buy");
		//ClipboardSet( "SCRIPNAME=" + SCRIP_NAME2 + "=SCRIPNAME" + "  EXNG=" + EXNGNAME + "=EXNG" + " INST=" + INNAME + "=INST" + " ENTRY=" + Long_Entry_Price + "=ENTRY" + " TRIGGER=" + Long_Trigger_Price + "=TRIGGER" + "  STOPLOSS=" + Long_Stoploss_Price +  "=STOPLOSS" + "  TARGET=" + Long_Target_Price + "=TARGET" + "  LOTQTY=" + Long_Trade_Quantity + "=LOTQTY" + "  LOT=" + Long_Trade_Lot + "=LOT" + " LOTUNIT=" + LOTUNIT + "=LOTUNIT" );
		ClipboardSet( "SCRIPNAME=" + SCRIP_NAME2 + "=SCRIPNAME" + "  EXNG=" + EXNGNAME + "=EXNG" + " INST=" + INNAME + "=INST" + "  LOTQTY=" + Long_Trade_Quantity + "=LOTQTY");
					//PopupWindow( "", EXNGNAME + "BUY ENTRY", 10, 250,  150, 20, 20, True );
					_ShellExecute("C:\\BUYMARKETNSE.lnk", "", "" );_
					//ShellExecute("notepad", "", "" );
					
					AddtextColumn(bb,"bb");
}
//AddtextColumn(bb,"bb");
AddColumn(Long_Trade_Quantity,"Long_Trade_Quantity");
AddTextColumn(SCRIP_NAME2,"script");