March 2, 2009 at 11:41 pm
Hi ,
I want to move/copy one MDB(Ms-access) file from one location to other shared location using
"xp_cmdshell 'NET USE ..... "
can anybody tell how can i do it ?
in next step : i want to encorporate it in SSIS pacakge .
Please help me.
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
March 3, 2009 at 11:46 am
I have had to do this before, pretty simple. See the following...
xp_cmdshell"net use t: \\10.10.10.10\share_name password_here /user:username_here /persistent:yes"
/* Add extra code here... */
xp_cmdshell"net use T: /delete"
November 29, 2010 at 6:07 am
Thanks alot buddy:-)
Regards,
Vijay
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy