Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

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.
0
lwinkenb
Asked:
lwinkenb
2 Solutions
 
Jaime OlivaresCommented:
Just go to

Project -> Settings... -> Link tab

and in "Output filename" textbox type:

c:\windows\system32\mydll.dll

0
 
Svetlin_PanayotovCommented:
Yet another - in Project -> Settings -> Post-build you can add
copy $(TargetName) c:\windows\system32\
0
 
lwinkenbAuthor Commented:
Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now