﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Backups  / sqlcmd Backup to current working directory / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 15:19:27 GMT</lastBuildDate><ttl>20</ttl><item><title>sqlcmd Backup to current working directory</title><link>http://www.sqlservercentral.com/Forums/Topic792518-357-1.aspx</link><description>Hi,  Could anyone tell me how should i modify the following sqlcmd which will pull the backup of the databse to the Present working directory (PWD)    Lets say if you kick off the following command being in D: (Directory), the bak file should generated at D:.sqlcmd -E -S MB3DS1022 -Q"BACKUP DATABASE [SFB10D02] TO  DISK = N'.\SFB10D02.bak' WITH NOFORMAT, NOINIT,NAME = N'SFB10D02-Full Database Backup',SKIP,NOREWIND, NOUNLOAD,STATS = 10"</description><pubDate>Wed, 23 Sep 2009 04:51:41 GMT</pubDate><dc:creator>ArjunaReddy</dc:creator></item></channel></rss>