check network access from DOS prompt

How would check if the system has access to a network drive, from the C prompt on DOS cmd?

thanks

Solution: check network access from DOS prompt

try to use net use command to map the network drive using the below format.

after maping try to access the share in given drive letter.

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]