Copying files .........

  • Thread starter Thread starter ALPO
  • Start date Start date
A

ALPO

Is there an easy way to copy only selected files from one
psolution to another? Such as , I have an aspx and code
behind files on my local machine and I want to copy them
to a solution on a web server.......
 
One method is to use an xcopy command with an exclude file
rem Deploy.cmd
xcopy D:\inetpub\wwwroot\*.* \\WEBSERVER\WWWRoot$\ /A /D /S
/EXCLUDE:D:\inetpub\wwwroot\exclude.txt

exclude.txt contains:
..vb
..pdb
..vbproj
appsettings.config
exclude.txt
deploy.cmd

see xcopy /? for help on the switches used.
 
Back
Top