Sending your C++ sultion/project files in a ZIP files

Before creating the ZIP file and for example, attaching it to an e-mail and send it to a friend, you might want to considerably reduce its size (the ZIP file, not the friend) by doing:

del /s *.pch *.pdb *.ncb *.sbr *.obj *.idb *.ilk

Al those are product of the built so no need to fill your friend Inbox...

I did not include the *.EXE or *.DLL as those could be dependencies.

You might want to have a look at Which Visual C++ Files to Add to Source-Code Control.

Bonne fin de semaine!

¡Buen fin de semana!

Have a nice week-end!

Comments

  • Anonymous
    November 19, 2005
    That's a great tip. One can also use Michael dunn's shell extension

    http://www.codeproject.com/tips/dirclean.asp

    Its important to read the remarks about VS.NET in that article.

    Have an even nicer weekend :)