User forums > Help

post-build steps under "Commands"

(1/1)

grunerite:
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:
try this:

--- Code: ---cmd /c copy Dir\AnotherDir\File1.txt  Dir\AnotherDir\File1_copy.txt
--- End code ---

cmd /c opens a dos command shell

grunerite:

--- Quote from: nfz on February 02, 2006, 01:43:48 am ---try this:

--- End quote ---
Perfect. Thanks very much.

Navigation

[0] Message Index

Go to full version