Kyme Posted May 27, 2008 Share Posted May 27, 2008 i wanna use FileCopy("C:\back.jpg","C:\all\back.jpg") but i wanna use @scriptdir for "C:\back.jpg" how i can make it???i try lots of posibilitys and i don't get that good:( Link to comment Share on other sites More sharing options...
newbiescripter Posted May 27, 2008 Share Posted May 27, 2008 (edited) You can use FileCopy(@ScriptDir & "\back.jpg","C:\all\back.jpg") EDIT: in your scriptdir you could create a folder called for example FilesToInstall and then do simply like this: FileCopy(@ScriptDir & "\FilesToInstall\back.jpg","C:\all\back.jpg") Edited May 27, 2008 by newbiescripter Link to comment Share on other sites More sharing options...
Kyme Posted May 27, 2008 Author Share Posted May 27, 2008 You can useFileCopy(@ScriptDir & "\back.jpg","C:\all\back.jpg")EDIT: in your scriptdir you could create a folder called for example FilesToInstall and then do simply like this:FileCopy(@ScriptDir & "\FilesToInstall\back.jpg","C:\all\back.jpg")tnx man 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