Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: drive mappings
To Download a zip file with all of E.R.'s examples
;MAPTEST.WBT maplist="FUWXYZ" mapno=strlen(maplist) mapped="" maperror="" for map = 1 to mapno drive=strsub(maplist,map,1);get drive letter drive=strcat(drive,":\") if direxist(drive) mapped=strcat(mapped,drive," ") else maperror=strcat(maperror,drive," ") endif next map text=("Your login to your Netware server has failed to connect%@crlf%") text=strcat(text,"the following drive letter(s): ",maperror,@crlf,@crlf) text=strcat(text,"Your Desktop login cannot be completed reliably.",@crlf,@crlf) text=strcat(text,"Press OK or Enter to reboot your PC and try again.",@crlf,@crlf) text=strcat(text,"If the fault persists, please contact the Helpdesk.",@crlf) Message("Error in mapping drives to fileserver",text) return
Article ID: W13499
Filename: Test Network Drive Mappings.txt
File Created: 2017:08:29:11:51:02
Last Updated: 2017:08:29:11:51:02