The client application needs information stored on a server at a certain location and requires that the client computer is mapped to that location with a certain letter, which is used in the client application. Today the client application uses the FILE()-function to check if the mapping is allright and if not the application runs an external bat-file, which first removes the letter (if the computer is mapped to another location with that letter) and then map the computer to the right location with the desired letter. It works but it does not look professional because when running the bat-file the command prompt window is shown. Is there a way to avoid that the command prompt window is shown when running a dos program from foxpro or is there a smarter way of controlling the map letters from foxpro.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.