Wrox Programmer Forums
BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 Discuss the book Beginning Microsoft SQL Server 2008 Programming, Robert Vieira, ISBN: 978-0-470-25701-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 22nd, 2009, 09:47 AM
Registered User
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mapping drive for sql backup

im using the xp_cmdshell command in a query to try to access a mapped drive that i have on a server. example:
Exec master.dbo.xp_cmdshell 'dir Z:\'
i found that in another forum online and it does not seem to work, i looked in another sql 2008 book, and there was nothing on this as far as synatax.

i tried
'z:\ \\dcserver\beast'
with no luck.

does this proc work for anyone.
Note: i did enable SQL Server Surface Area Configuration prior.

any help is appreciated.


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Backup dathomps SQL Server 2000 1 January 2nd, 2008 01:56 PM
Oracle to SQL Server DataType Mapping maulik33 SQL Language 0 November 1st, 2007 02:48 PM
How to backup database to Network Drive Jane SQL Server 2000 3 July 4th, 2005 12:37 PM
SQL enterprise manager doesn't see mapped drive Cinderella SQL Server 2000 9 June 20th, 2005 11:49 AM
How to find if drive is a mapped drive BrianWren Pro VB 6 1 June 2nd, 2005 04:07 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.