[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

how to use "fileinfo" on a remote system

Posted on 2009-05-10
6
Medium Priority
?
230 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 2000 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month18 days, 21 hours left to enroll

834 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