Copying files .........

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.......
 
J

Jim Hughes

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top