copy a file after it is build

I am using visual c++ 6.0.  How can I make it so my .dll file is copied to another directory right after it is built?  Let's say visual c++ compiles and builds the file mydll.dll and I want it copied to c:\windows\system32 right after it's built.
LVL 5
lwinkenbAsked:
Who is Participating?
 
Svetlin_PanayotovConnect With a Mentor Commented:
Yet another - in Project -> Settings -> Post-build you can add
copy $(TargetName) c:\windows\system32\
0
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
Just go to

Project -> Settings... -> Link tab

and in "Output filename" textbox type:

c:\windows\system32\mydll.dll

0
 
lwinkenbAuthor Commented:
Thanks
0
All Courses

From novice to tech pro — start learning today.