I don't know how to do it from within Visual Studio, but I can show you how I make backup copies of a development directory using a batch file to back up to a flash drive.
R: is where my flash drive is located, but you can use any drive or Zip drive.
Create a batch file called BackUpToUSB.bat
Add the following code using your own directories:
-------------------------------------------------
echo off
cls
echo Backup e:\VS 2005 Projects\Purchase VB directory to USB drive
echo Make sure Kingston USB drive is connected...
pause
R:
cd "\VS 2005 Projects\Purchase Business Objects VB"
xcopy "E:\VS 2005 Projects\Purchase Business Objects VB" /c /d /e /i /y
if errorlevel 4 goto lowmemory
if errorlevel 2 goto abort
R:
cd "\VS 2005 Projects\Purchase VB"
xcopy "E:\VS 2005 Projects\Purchase VB" /c /d /e /i /y
if errorlevel 4 goto lowmemory
if errorlevel 2 goto abort
R:
cd "\VS 2005 Projects\Purchasing\StoredProcedures"
xcopy "E:\VS 2005 Projects\Purchasing\StoredProcedures" /c /d /e /i /y
if errorlevel 4 goto lowmemory
if errorlevel 2 goto abort
R:
cd "\SQL_Backups"
xcopy "E:\SQL_Backups" /c /d /e /i /y
if errorlevel 4 goto lowmemory
if errorlevel 2 goto abort
echo .
echo Remove Kingston USB drive!
pause
if errorlevel 0 goto exit
:lowmemory
echo Insufficient memory to copy files or
echo invalid drive or command line syntax.
goto exit
:abort
echo You pressed Ctrl+C to end the copy operation.
goto exit
:exit
------------------------------------------------
You can then create a shortcut to this batch file.
You can reverse the process to update the files to another computer. I develop on three different computers, so this works well.
You can also backup using SyncToy from Microsoft.
On large directories I use Nero to go to CD's or DVD's.
If this is not what you are looking for just ignore.
CU
Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102