Login Script: Advanced Run External Program
Posted on 2005-05-17
We are using Netware 5.1 and the 188.8.131.52 SP1a client. We also run AD with Windows 2003 servers. We use Novell primarily as a file sharing service but we are gradually switching over to Windows. I know how to map a MS share from the novell login script using the " @net use" command but it throws up a big DOS window that users have a tendancy to close since it takes a few seconds for the drive to map. If they close it then the drives do not get mapped and that's a problem.
I am looking for a more advanced way of mapping the MS share from the novell login script. Preferably there would be some option that would make the DOS window run minimized, or at the very least let me echo "Mapping drives, Do Not Close" to it so they don't close it.
I tried [@"Mapping drives, Do Not Close" && net use \\server\share] which would work in a command window but I realized its not a command window, its running executables only. Could I make a batch file on a MS server and execute it minimized? What would the syntax look like for that?
I know I could just map the drives using a MS login script but then we would have two scripts to maintain in two different locations instead of one.