Please clarify and give an example what exactly you want to accomplish. Do you want a batch file or a KiXtart script?

"NET.exe USE" is a DOS command line utility with an option.
_________________________
Home page: http://www.kixhelp.com/hb/