@ECHO ON
::CPC_CHEATCHEAT.CMD
::ADDS NEW PROJECT TO THE CODEPLEX FROM SCRATCH
:: SEE HELP , check that cpc in in PATH ENV variable
cpc
PAUSE
ECHO If you want to interrupt this batch file press Ctrl + C in any time
::LETS TRY SOME HELP
cpc help add
pause
::MAKE THE DIRECTORY FOR YOUR PROJECTS
mkdir D:\MyProjects
pause
::COPY ALL THE STUFF
ROBOCOPY D:\MyProjectToPublish D:\MyProjects\ /MIR /W:1
pause
echo if you do not have the ROBOCOPY command UNCOMMENT THE NEXT LINE
::XCOPY /S /E /Y /I D:\MyProjectToPublish D:\MyProjects\
pause
::REGISTER THE PROJECT TO CODEPLEX
cpc checkout MyProjectToPublish
pause
::ADD A WHOLE FOLDER OF THE PROJECT
cpc add /e MyProjectToPublish
pause
::CHECK THE CURRENT STATUS
cpc status
pause
::commit the added files to the codeplex
cpc commit /message "Just checking if cpc works with batch ..." /username MyUserName /password MySecretPass
pause
Comparing Raw ASP.NET Request Throughput across Versions
-
[image: New And Old Computers]
It's that time of year again to upgrade to a new machine, and one of the
first things I often do once the machine is set u...
1 week ago