> I meant the java.net package.
Which is part of the Java API.
>
> Ummm, is it possible through maybe an autoexec.bat
> file?
Yes and no.
First unless you have a really old OS you don't have an "autoexec.bat". Although perhaps you are not aware of that history (if so don't name files that.)
There is probably some OS specific way to do it. How depends on the platform and version.
Once you have that then you can use one of the java exec() methods to run that command.