ofcourse there is.. i will tell you with an example so you can get it quickly.
in network connections (windows 7 open network and sharing center -> change adaptor settings ) , there you can see our connections. i have two connections here, one is INTERNET and other one is INTERNET2 . so i want to dial the first one "INTERNET" with a command prompt..
its simple..... open command prompt and type "rasdial INTERNET" without quotes. you are done.
try disconnecting that with typing "rasdial /DISCONNECT" without quotes.
here is your answer. open a notepad and write "rasdial INTERNET" (without quotes),
and click save as , change its name to "name.bat" there created a bat file, if you havn lost your mind somewhere.
you can doubleclick that file whenever you want to connect your network.
now, do you want to connect it automatically when windows starts?
goto start - all programs - startup, right click and open that folder and copy paste the file which you created already,(name.bat) to that folder.from now when windows starts, your computer will automatically connect to internet ..