Re: How do I copy a file using xp_cmdshell
From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 02/11/05
- Next message: Jacco Schalkwijk: "Re: How do I copy a file using xp_cmdshell"
- Previous message: John Bell: "Re: Expanding Hierarchies"
- In reply to: Vincel2k2: "How do I copy a file using xp_cmdshell"
- Next in thread: Vincel2k2: "Re: How do I copy a file using xp_cmdshell"
- Reply: Vincel2k2: "Re: How do I copy a file using xp_cmdshell"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 09:36:44 -0500
Does the account for SQL Agent or the Proxy (depending on who is running the
command) have access to this share?
-- Andrew J. Kelly SQL MVP "Vincel2k2" <Vincel2k2@discussions.microsoft.com> wrote in message news:62257A3D-CCF8-46B7-9A6F-65399CF61FD6@microsoft.com... > Things I have tried. > > xp_cmdshell "Copy D:\Database\Apps\Ven.mdb D:\ultradb\Ven.mdb" > This Works Great > > xp_cmdshell "Copy X:\MMS\Data1\Log_data.mdb D:\ultradb\ Log_data.mdb" > Returns this error: The network name cannot be found. The path and > filename > are correct > > xp_cmdshell "Copy \\SERVER01\DATA\SHARED\WORK\MMS\Data1\ Log_data.mdb > D:\ultradb\ Log_data.mdb" > Returns this error: The network name cannot be found. The path and > filename > are correct > > EXEC xp_cmdshell 'Copy \\SERVER01\DATA\SHARED\WORK\MMS\Data1\ Log_data.mdb > D:\ultradb\ Log_data.mdb > Returns this error: The network name cannot be found. The path and > filename > are correct >
- Next message: Jacco Schalkwijk: "Re: How do I copy a file using xp_cmdshell"
- Previous message: John Bell: "Re: Expanding Hierarchies"
- In reply to: Vincel2k2: "How do I copy a file using xp_cmdshell"
- Next in thread: Vincel2k2: "Re: How do I copy a file using xp_cmdshell"
- Reply: Vincel2k2: "Re: How do I copy a file using xp_cmdshell"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading