Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #278

Re: Get UNC from drive letter...

From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver
Subject Re: Get UNC from drive letter...
Date 2011-05-02 23:43 +0200
Organization Erland Sommarskog
Message-ID <Xns9ED9F15CCCBC0Yazorman@127.0.0.1> (permalink)
References <G88fp.20439$hP6.20257@newsfe19.iad> <Xns9EA7CCAECDEB6Yazorman@127.0.0.1> <eR8fp.20449$hP6.5091@newsfe19.iad> <ULyvp.4616$HF3.4296@newsfe03.iad>

Show all headers | View raw


Matthew Wells (matthew.wells@firstbyte.net) writes:
> Actually in this case the server has the same mapped drives as all the
> users so my question is still applicable.  
 
I don't see your machine, but disk mappings are set up when you login,
or because you run NET USE manually. I still don't think the service account 
has any disks mapped.

What happens if you try:

   exec xp_cmdshell 'DIR F:\'

assuming that you think F is a mapped disk?

-- 
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Get UNC from drive letter... "Matthew Wells" <matthew.wells@firstbyte.net> - 2011-05-02 09:57 -0400
  Re: Get UNC from drive letter... Erland Sommarskog <esquel@sommarskog.se> - 2011-05-02 23:43 +0200
    Re: Get UNC from drive letter... Henk van den Berg <hvandenberg@xs4all.nl> - 2011-05-03 05:02 +0200

csiph-web