The Solaris system uses a forward slash to separate names in a path. This is different from client computers, which use backslashes. Note, however, that the great majority of commands will work with either forward or backward slashes.
When typing path names at a Solaris system command prompt, you can use any of the following methods:
Single forward slashes - Separate each element of the path with single forward slashes, like this:
net share tmpshare=c:/tmp /us:10 /r:"Share for temporary use"
Double backslashes - Separate each element of the path with double backslashes, like this:
net share tmpshare=c:\\tmp /us:10 /r:"Share for temporary use"
Single quotation marks - Separate each element of the path with single backslashes and surround the whole path in single quotation marks, like this:
net share 'tmpshare=c:\tmp' r:"Share for temporary use"
When including spaces in values, you may want to enclose the value in double quotation marks. For example, to change the comment for the domain guests group, you would type the following command:
net group "domain guests" /comment: "All domain guests"