Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Servers > Windows Server
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Windows Server Please be sure to specify which version of Windows Server your question/post applies to.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Server section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 11th, 2010, 08:19 PM
Friend of Wrox
Points: 608, Level: 9
Points: 608, Level: 9 Points: 608, Level: 9 Points: 608, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: St. Louis, , .
Posts: 100
Thanks: 0
Thanked 1 Time in 1 Post
Default How are paths determined on a remote machines?

How are paths determined on a remote machines?
I have been assigned a network loaction. Let's call it \\wassup\test1
I assume that wassup is the name of the computer. The question I have is this. How can I determine what the local path from the point of view of the remote machine would be for "test1". For example, how would I know if it is c:\test1 or d:\test1 ?
Reply With Quote
  #2 (permalink)  
Old June 11th, 2010, 11:55 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,413
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can not.

Firstly: "wassup" is a network device name. It could be a real server or a virtual server, a real file share appliance (NAS) or a virtual share root such as a clustered file share host served by one of a number of servers.

Secondly: "test1" is a file share exposed on the device. It could be anything, possibly even a location not on that same device (although that would be unlikely). Unless you can get onto the device named "wassup" you can not determine what the physical location is.

If, however, "wassup" were a windows server you could access, you could look in the "File Shares" section of computer management to see that share name and thus the physical location of it. This is better than trying to hunt around in the file system for the shared directory if it is not named in an otherwise obviously discoverable way.
__________________
-Peter
compiledthoughts.com
twitter/peterlanoie
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid renders different on different machines GertFrost ASP.NET 2.0 Basics 1 June 19th, 2007 04:34 PM
Attributes Use determined by value? bonekrusher XML 2 November 18th, 2006 07:36 PM
date not visible on some machines atin Crystal Reports 1 June 1st, 2006 01:04 PM
DataGrid renders different on different machines GertFrost ASP.NET 2.0 Professional 1 May 25th, 2006 11:21 PM
How to use webservices created on remote machines? Mayurakshi .NET Web Services 0 April 4th, 2006 12:00 PM



All times are GMT -4. The time now is 03:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.