Solved

UNC - Path - issue

Posted on 2007-11-16
4
214 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 170
detecting  the added row index in a datagridview 3 80
Basic Java Case or If-Else statement... 3 57
collection output issue 9 36
This article will show, step by step, how to integrate R code into a R Sweave document
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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 …

840 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