Solved

how to use "fileinfo" on a remote system

Posted on 2009-05-10
6
222 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…

856 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