>I am trying to map to a network drive
>The problem is when I issue my map command:
>
>lcMap = "MAP i:=s3\sys:\"
>
>Run &lcMap The Dos Window blinks on
>Run /N &lcMap The Dos window Stays on
>
>Is there a way to map a drive without the Dos window being shown?
Several - you can launch the Map command using CreateProcess() with a minimized or hidden window (you can use the API_APPRUN class in the Files section here on UT to do that) or you can use an API call such as WNetAddConnection() to perform the drive mapping for you. The API call is preferable, unless you need some of the specialized clauses of the Novell Map command to map search drive and/or assign root mappings.
>
>Thanks in advanced