Last night we switch over to a base Comm server, the NCC gave us this UNC:

\\nvzramcw3vn101\6-MDG-G\Data\6 MDG Network Drives\Users\

Our original UNC was:

\\fsnvzrmsana\Users\ -- No problems with this UNC.

The script lines that are complaining are these:

 Code:
If Not Exist("\\nvzramcw3vn101\6-MDG-G\Data\6 MDG Network Drives\Users\@userid")
;  If the user does not have a mappable homedrive share, we need to create it
;  Here the script logs the fact there is homeshare, then exits to the normal
;  medical.bat continuation

	CLS

	$FH = FreeFileHandle()

	;  Some troubleshooting statements to follow ...
	;?
	;? "File Handle found: "+$FH
	;?
	;Sleep 3
	;? "Just before open statement ..."
	;?
	;Sleep 3

	If Open($FH,"\\fsnvzrmsanb\organization\meprs_cm\MEPRS_LOG.TXT",5) = 0
		$x = WriteLine($FH,@DATE +  "  " +@TIME + " U: Drive Not Found for " + @USERID + " " + @CRLF + @CRLF)
		Close($FH)
		?
		? "Exiting MEPRS Pop-Up Module ..."
		?
		Sleep 2
		Quit
	EndIf
	?
	?
	Sleep 3
Else
;  This determines whether they have the meprs folder under their homedrive share
;  Getting here means the user has a mappable home share and it is permissioned right

   If (Exist("\\nvzramcw3vn101\6-MDG-G\Data\6 MDG Network Drives\Users\@userid\meprs") = 0)
       MD ("\\nvzramcw3vn101\6-MDG-G\Data\6 MDG Network Drives\Users\@userid\meprs")
   EndIf

EndIf

 


An error occurs on the first embedded space. I do not have the option of changing the UNC, at least not today -- I will have to politic for that.

How do I handle the embedded spaces?

TIA