Mike,
You could try using the "Net Use" dos command would do what you want.

Eg net use Q: \\computer_name\shared_folder

If you think the drive letter may already be used then first do 

Net use Q: /DELETE

There is a password option in the command  do a net use /? At the dos prompt
to see the format.

This will remove the mapping.

I also have an API call that will do this somewhere. If you need it then
I'll try and find it.

Other than that, the login scripts could do this automatically. However
using login scripts with wireless connections is somewhat fraught with
problems as I have found to my cost as the wireless network connection
sometimes seems to need time to "settle down" before accessing any
drives/shares.

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Mike yearwood
Sent: 03 March 2008 16:33
To: profox@leafe.com
Subject: drive map re-connection

Hi all

Environment: Windows Server 2003 and Windows XP wireless clients
running FoxPro loader exe.

I'm not sure of the exact terminology, so give me a break! :) I have a
mapped drive letter W: which is connected to \\server\somefolder.
somefolder needs most if not all rights for admin users, regular users
should not have the ability to delete files though. We have notebooks
with wireless access. When the notebook users login, drive W, though
it was set to reconnect at logon, does not always connect. The user's
passwords match the password for their accounts on the server. In one
case the login password is not the same as that on the server. That
user has the particular password remembered by clicking remember
password on that folder. Running Windows Explorer and clicking on
drive W always reconnects it.

I cannot see how it would be manageable to have the loader remap the
drive. That would require users and admins specific files with
encrypted passwords.

How about login scripts? Is that possible with Server 2003? If so,
how? Any other suggestions?

Thanks

Mike


[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to