i want to create a batch file and then using it i want to execute a few commands...........

when we type commands in notepad and save it as .bat how can be pass vaiables from the vb.net program to teh bat file..
or can we create a batch file from the program itself....