<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>How do you expand the path to UNC?</DIV>
<DIV> </DIV>
<DIV>The reason I am surprised in a way that MS have done this is that using
mapped drives added a layer of abstraction from the server – if a server had F:
mapped to <A href="file://\\SERVER01\DATA">\\SERVER01\DATA</A> then the
server could be replaced, the mapping moved to <A
href="file://\\SERVER02\DATA">\\SERVER02\DATA</A> on the workstation in
Windows Explorer, and the existing shortcuts and saved setups needed no change –
in practice this is very convenient because it gave a very easy way to upgrade a
server. Also the network upgraders only needed to know to edit the drive
mappings in Explorer, now they might need to go into software packages and alter
settings for each.</DIV>
<DIV> </DIV>
<DIV>I can cater for this in my settings, but it means that any time a server is
replaced the settings will have to be edited, and the shortcuts will also will
probably have to be edited, as usually the server name changes.</DIV>
<DIV> </DIV>
<DIV>I already have to cater for this for network printers, eg a printer might
move from being called HPLaserjet and changed from being mapped to <A
href="file://\\SERVER01\HPLASER">\\SERVER01\HPLASER</A> changed to <A
href="file://\\SERVER02\HPLASER">\\SERVER02\HPLASER</A> so in a sense its
just more of the same (printers never had a mapping anyway).</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">John</DIV>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"><FONT
size=2 face=Arial></FONT></DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">I
havent noticed it as I have always expanded the path to unc and beyond so that
no matter what form they give me for the path, it always evaluates to the
same string.<BR><BR>Another thing that may effect you is that on 64 bit server
using TS - constant crashes are being attributed to this issue. And the
workaround has been reported by other companies such as seagate - not to uses
shared drives. The error given is C0000006.<BR><BR><BR>On 12/02/2011 12:20
a.m., John Bird wrote:
<BLOCKQUOTE cite=mid:B40534B8318D409DAFE392326E852BFA@JohnSony2 type="cite"><PRE wrap="">?I have software used on networks that commonly uses its shared folder
server as a mapped drive, eg M:\MyFolder with M: mapped to
\\Server1\MySoftware\
If a program runs from there, started as M:\MyFolder\MyProgram.exe , there
is a difference between XP and Windows 7:
XP Application.exename returns M:\MyFolder\MyProgram.exe
Windows 7 Application.exename returns
\\Server1\MySoftware\MyFolder\MyProgram.exe
ie Windows 7 expands the mapped drive to its real UNC name rather than
returning the mapped drive name, even though the program was run from a
shortcut using the mapped drive name.
Anyone know if this is a setting or preference that can be altered? Or do
I have to live with either being returned depending on Windows version?
Others may wish to check if this has ramifications for them!
John
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <A class=moz-txt-link-abbreviated href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</A>
Admin: <A class=moz-txt-link-freetext href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</A>
Unsubscribe: send an email to <A class=moz-txt-link-abbreviated href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</A> with Subject: unsubscribe
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5863 (20110210) __________
The message was checked by ESET NOD32 Antivirus.
<A class=moz-txt-link-freetext href="http://www.eset.com">http://www.eset.com</A>
</PRE></BLOCKQUOTE><BR><BR>
<DIV class=moz-signature>-- <BR>Regards<BR><BR><B>Rohit Gupta</B><BR>B.E. Elec.,
M.E., Mem IEEE, Mem IET<BR>Technical Director<BR>Computer Fanatics
Ltd<BR><BR><B>Tel </B>4892280 <BR><B>Fax </B>4892290 <BR><B>Web </B><A
href="wlmailhtml:www.cfl.co.nz">www.cfl.co.nz</A><BR>
<HR>
This email and any attachments contain information, which is confidential and
may be subject to legal privilege and copyright. If you are not the intended
recipient, you must not use, distribute or copy this email or attachments. If
you have received this in error, please notify us immediately by return email
and then delete this email and any attachments.</DIV>
<P>
<HR>
_______________________________________________<BR>NZ Borland Developers Group -
Delphi mailing list<BR>Post: delphi@delphi.org.nz<BR>Admin:
http://delphi.org.nz/mailman/listinfo/delphi<BR>Unsubscribe: send an email to
delphi-request@delphi.org.nz with Subject:
unsubscribe</DIV></DIV></DIV></BODY></HTML>