home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,289 of 19,505   
   Erland Sommarskog to Matthew Wells   
   Re: Get UNC from drive letter...   
   02 May 11 23:43:36   
   
   From: esquel@sommarskog.se   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca