Sign in to follow this  
Followers 0
Kyme

FileCopy help

3 posts in this topic

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:(

Share this post


Link to post
Share on other sites

#2 ·  Posted (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 by newbiescripter

Share this post


Link to post
Share on other sites

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")

tnx man

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0