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


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

Re: Get UNC from drive letter...

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver
Subject Re: Get UNC from drive letter...
Date Mon, 02 May 2011 23:43:36 +0200
Organization Erland Sommarskog
Lines 21
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>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
Injection-Info mx01.eternal-september.org; posting-host="DD6dU+BfJNjsjSP4/K/V7w"; logging-data="13831"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KjdjyJ2gYvK1RdAo1xcuc"
User-Agent Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32)
Cancel-Lock sha1:ItlAtXDj2ZcxBC/xTOzR3LBljH4=
Xref x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:278

Show key headers only | 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