Jump to content

Recommended Posts

Posted

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

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
Posted

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

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
×
×
  • Create New...