Hi All,
I have an c# application including lots of different dll projects.
On project options, I have coded a postbuild event script shown below
to gather all my files in different project in one path after successfull
build.
copy $(TargetPath) Y:\CommonFiles\$(TargetFileName)
after build, this script generates a postbuild.bat file and in this file i
have this line
copy D:\Project\FRONT END\SCREENS\F_0001\F_0001\bin\Release\F_0001.dll
Y:\CommonFiles\BIN\F_0001.
this copy command fails -i think- because of having long than (8+3)
filename + ext.
How can I make this script run successfully ?
ps: Changing path of project is not desired solution, because we have
thousands of projects under this
path (D:\Project\FRONT END) and has VSS mapping.
Miha Markic [MVP C#] - 20 Mar 2004 13:21 GMT
Hi Ahmet,
Try putting paths in partenthesis:
copy "$(TargetPath)" "Y:\CommonFiles\$(TargetFileName)"

Signature
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
> Hi All,
>
[quoted text clipped - 17 lines]
> thousands of projects under this
> path (D:\Project\FRONT END) and has VSS mapping.