Author Topic: post-build steps under "Commands"  (Read 4112 times)

grunerite

  • Guest
post-build steps under "Commands"
« on: February 02, 2006, 01:36:47 am »
Hello,

WinXP
Rev 1893 nightly build

This has probably been answered, but I couldn't find a post for it.

After building a project, I want to copy a few files, like I would in a Command window.

copy Dir\AnotherDir\File1.txt  Dir\AnotherDir\File1_copy.txt


This doesn't work.  I DO NOT want to create a *.bat and then run the batch file after I build, I just want a simple file copy.

Can I do this in Commands?

Thanks.

nfz

  • Guest
Re: post-build steps under "Commands"
« Reply #1 on: February 02, 2006, 01:43:48 am »
try this:
Code
cmd /c copy Dir\AnotherDir\File1.txt  Dir\AnotherDir\File1_copy.txt

cmd /c opens a dos command shell

grunerite

  • Guest
Re: post-build steps under "Commands"
« Reply #2 on: February 02, 2006, 01:50:11 am »
try this:
Perfect. Thanks very much.