nekiman Posted May 6, 2010 Posted May 6, 2010 Hello to everyone....I would like to ask you something!! Can someone please tell me how can I copy a file from wpipath to a folder in programfiles??For example I want to copy a file from %wpipath%\Install\folderto%programfiles%\new_folderwhich is the command to this? I'm trying the command {FILECOPY} but I couldn't succed:(...I'm trying to do this on Windows XP!!sorry about my english, I'm Greek:$....Thank you in advance!! Quote
ricktendo Posted May 6, 2010 Posted May 6, 2010 Post your syntax lets see what is wrong with it, could be something as simple as quotes Quote
nekiman Posted May 6, 2010 Author Posted May 6, 2010 (edited) Post your syntax lets see what is wrong with it, could be something as simple as quotes{FILECOPY} %wpipath%\Install\file.exe %programfiles%\folder\file.exethis is what I tried.... Edited May 6, 2010 by nekiman Quote
ricktendo Posted May 6, 2010 Posted May 6, 2010 As I suspected, try adding quotes to the %programfiles% path{FILECOPY} %wpipath%\Install\file.exe "%programfiles%\folder\file.exe" Quote
nekiman Posted May 6, 2010 Author Posted May 6, 2010 As I suspected, try adding quotes to the %programfiles% path{FILECOPY} %wpipath%\Install\file.exe "%programfiles%\folder\file.exe"This command didn't work.... but you gave me an idea and I tried this:{FILECOPY} "%wpipath%\Install\file.exe" "%programfiles%\folder\file.exe"With this command I succeded to copy the file!! Thank you very much!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.