Hi I'm new here

I'm at work rite now.. and I have I little problem

I want Acces to do a query with paramater coming from a *.bat file and data from SQL server.

I want to enter my parameter in the *.bat file and then Access execute the Query with the data from SQL server and then Access close itself.

What do I have to write in the VB code in Access..

thanks u