You just need to start the command shell with those commands. After the command shell is started you can change to any mapped drive you want. The important thing about starting the command shell this way is that the command shell knows what xsd.exe is which is important. Hope that helps. Ben