Solved

how to use "fileinfo" on a remote system

Posted on 2009-05-10
6
227 Views
Last Modified: 2013-12-17
I have a file on a remote XP system that I want to verify exists.  What is the format of the path and filename to accomplish this?

Thanks in advance...
0
Comment
Question by:rmmarsh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
Korbus earned 500 total points
ID: 24350198
I assume you have the file shared an perssion setup properly?  If so, and the computer name can be resolved try

\\computername\sharename\filepath&name
or you could map the share to a drive letter, and access it that way


If you're not sure about the share and permission, let us know.
0
 

Author Comment

by:rmmarsh
ID: 24350285
What is the "sharename"?  I got the rest...

Thanks...
0
 

Author Comment

by:rmmarsh
ID: 24350315
What I have now is:

\\netvista-8311\c:\ddbase\books.fdb

and I get the error:  given path's format is not supported.


0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 10

Expert Comment

by:Korbus
ID: 24350361
A sharename is the name that you assign to a file server's shared folder.  You will need to log onto the file system in question and create a "share".  You can right click on a folder to do this.  You will also need to make sure you assign permissions of the share correctly (or grant everyone read/write access).

All references to paths through the share, are reletive to that share's path on the file server.  It acts kind of like a root directory.
you MAY be able to use the built in share C$, which is when the c: drive root folder is shared. (replace c: with c$ in the path you tried)

0
 

Author Comment

by:rmmarsh
ID: 24350506
So if I make the "ddbase" folder shared (which it is), do I drop the "c:"?
0
 

Author Comment

by:rmmarsh
ID: 24350517
Never mind... tried it and it works!  Thank you so much for your help...
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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