Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Network Invalid Error Message

Keywords: 504:	ResourceName is not valid or cannot be located
	  509:	Network component is not started or invalid  

If you're getting the "Network invalid; invalid network name" error, you might be using forward slashes where backslashes are required.

The following is incorrect:

	NetAddDrive(userid, pswd, "//DEN01/VOL1/PROPERTY", "E:", @false)
The following is correct:
	NetAddDrive(userid, pswd, "\\DEN01\VOL1\PROPERTY", "E:", @false)

Article ID:   W13549
Filename:   Network invalid error.txt