Solved

UNC - Path - issue

Posted on 2007-11-16
4
211 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
This is an explanation of a simple data model to help parse a JSON feed
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 …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now