Checking if shared folder exists using CMD

How I could check if network folder shared exists using batch script?

Example: \\10.10.10.1\folder1\folder2\shared_folder


Solution 1:

if exist \\10.10.10.1\folder1\folder2\shared_folder echo It's here