I get the same error
123
The filename, directory name, or Volume label syntax is incorrect. 123
123
The filename, directory name, or Volume label syntax is incorrect. 123
123
The filename, directory name, or Volume label syntax is incorrect. 123
123
The filename, directory name, or Volume label syntax is incorrect. 123


I have tried:

Debug on

If ADDPRINTERCONNECTION ("\\SHE500\SHIP47") = 0
? "Added printer connection...."
else
?@ERROR
?@SERROR
Endif


AddPrinterConnection ("\\SHE500\SHIP33")
?@ERROR
?@SERROR
Sleep 2

AddPrinterConnection ("\\SHE500\SHIP37")
?@ERROR
?@SERROR
Sleep 2

AddPrinterConnection ("\\SHE500\SHIP45")
?@ERROR
?@SERROR
Sleep 9