@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
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 month ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!