>Hi,
>
>I've a question : for the moment we are using 'net use' to make a connection from a client to a server(drive) when the user is logging on to windows.
>
>But sometimes it happends that the 'mapped drive' is gone for some reason. Now i'm wondering if it's possible to connect to a drive on a server and give it a name like (F) without using the 'run' command so that the user doesn't get a black window.
>
>
>Thnx
DECLARE INTEGER WNetAddConnection IN win32api ;
STRING RemoteName, ;
STRING PassWord, ;
STRING LocalName
? WNetAddConnection('\\mysever\shared$',0,'y:')
This is with the API. it will map to the Y drive
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers