goodbyeplanet Posted October 20, 2010 Posted October 20, 2010 (edited) I have been using the filecopy command to manipulate a variety of files like this FileCopy("france*.exe", "C:\new\")france.exe is in the current directory and the current directory has another folder called "morefiles" and this folder contains the file called "spain.exe". How do i reach out and copy the file spain.exe in the "morefiles" to the hard drive. The execution script is in the current directory. I have been also trying to use filefindfirstfile to search the directory "morefiles" and then try to copy but I am getting confused...Please help me....sorry for my poor english... Edited October 20, 2010 by goodbyeplanet
goodbyeplanet Posted October 20, 2010 Author Posted October 20, 2010 $search = FileFindFirstFile("morefiles\*") I am here again dear people...what i can do is manage to come up with that code above that searches the "morefiles" directory. how do i go about with the copying.
JoHanatCent Posted October 20, 2010 Posted October 20, 2010 Try: FileCopy(@WorkingDir & "\morefiles\spain*.exe", "C:\new\")
goodbyeplanet Posted October 20, 2010 Author Posted October 20, 2010 Try:FileCopy(@WorkingDir & "\morefiles\spain*.exe", "C:\new\")JoHanatCent danke sehr..thank you very much for helping me. that really worked at once and it has also reflected successfully on my logs...thanks again
JoHanatCent Posted October 20, 2010 Posted October 20, 2010 JoHanatCent danke sehr..thank you very much for helping me. that really worked at once and it has also reflected successfully on my logs...thanks againMy pleasure. ( My plesier)(Ich freue mich)
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