FuncMapDrive() is not a KiXtart built-in so it must be a user defined function. As you don't have the function defined in your code the call probably just prints something to the console.

To map a drive in KiXtart you can either use one of the wrappers developed by your peers (search in the UDF library forum) but you probably don't need anything more complex than the built in USE.

Read the documentation on the USE command which is very similar to the command line NET USE. If you get stuck with USE or searching the UDF forum for an appropriate function then post again.

If you get it all working then post your results, we always like to wrap up with a success story.