Visual studio 2005: I am moving from post build event to using the external tools menu with a batch file.
Previously I had
cd "$(ProjectDir).."
for /f "tokens=2,3,4 delims=/ " %%a in ('date /t') do set bdate=%%c.%%a.%%b
pkzipc -add -overwrite -dir=current "Z:\Technology\VisualStudio2005\Project Zips\$(ProjectName)_%bdate%_%username%.zip" "$(ProjectDir)*"
When I try to use this as an external tool it wraps "" around the projectname and adds an extra \ on SolutionDirectory (I am not sure if I want project or solution dir going forward, neither seems to be working)
The code I'm attempting to use:
pkzipc -add -overwrite -dir=current Z:\Technology\VisualStudio2005\Project Zips\%2\%2_%bdate%_%username%.zip %1*
this code doesn't work I think the first part stripping the outside "" is answered, which leaves the extra \ on the end of the projectdir variable. How can I fix that?