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 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: References: 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 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