regarding ur question of how to execute windows commands, u need anotherprogramming language to call windows APIs. u can use VB, VC++ for that. u willhave to make it as a DLL file so u can load and use it in ur java program.