Not sure this is the right section but anyway. I've designed an application which requires database details, and these details have to be input in every folder (it's a php file by the way so you can't see it via the web). The file is called dbinfo.inc.php, and I want to Copy it to ../Monday1/, ../Monday2/, etc. So basically if the file is in;
C:/Users/Joe Blogs/My App/dbinfo.inc.php
it'd be copied to
C:/Users/Joe Blogs/My App/Monday1/dbinfo.inc.php
How could I do this. Am I right in thinking that a .bat file would be best?
C:/Users/Joe Blogs/My App/dbinfo.inc.php
it'd be copied to
C:/Users/Joe Blogs/My App/Monday1/dbinfo.inc.php
How could I do this. Am I right in thinking that a .bat file would be best?