bglinkerman Posted April 19, 2006 Share Posted April 19, 2006 I'm using WPI and would like it to copy several files from the "Install" folder within the "WPI" folder to different folders within "Program Files". I tired using the COPY command in the config script but it did not like it. I tried having it call a bat file from the Install folder to copy the files. It would not launch the bat files. Finally, I created cmd files and placed them at the root of C:\ and WPI calls on them to do the copying. This method worked. I was just wondering if there is an easier way/command to copy the files. I really don't like having the extra dozen or two cmd files. (I can't put them all the cmd's together either...this will cause problems if someone was not to choose to install certain programs) Thanks. Link to comment Share on other sites More sharing options...
Sonic Posted April 19, 2006 Share Posted April 19, 2006 Do you use just Windows XP ?If yes, add that command at first line of your script cd /d "%~dp0"It allow to switch itself in its directory and it can copy what files you want. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now