Solved

UNC - Path - issue

Posted on 2007-11-16
4
215 Views
Last Modified: 2010-08-05
I have some VB code that can take a UNC path like:
\\myserver\mydir as a parameter
OR
c:\
the code interrogates mydir on myserver (or c:\) and returns files and directories - recursively -sucessfully

My question is this:
I want to interrogate c:\ on myserver but the code fails.
What do I pass the function to call all the directories on \\myserver?




 
0
Comment
Question by:michaelrobertfrench
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
asawatzki earned 250 total points
ID: 20300668
Does it work to use \\myserver\c$
0
 
LVL 22

Assisted Solution

by:cookre
cookre earned 250 total points
ID: 20300692
I suspect the confusion comes from having share names the same as directory names.

If that server's main drive is c:, there's a good chance its share name is c$.
0
 
LVL 22

Assisted Solution

by:cookre
cookre earned 250 total points
ID: 20300705
Cross posting is such fun...
0
 

Author Closing Comment

by:michaelrobertfrench
ID: 31409623
\\myserver\c$ is the solution. Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question