Solved

UNC - Path - issue

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

810 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