Jump to content
Sign in to follow this  
UnholySpirit

N00b Question ;_;

Recommended Posts

UnholySpirit

Hello :).

I can't copy any files with relative path...

FileCopy (".\hello.dll", "C:\Windows\blablabla\")

Is the code correct?

(sorry for my bad english)

Edited by UnholySpirit

Share this post


Link to post
Share on other sites
Kiti
monoceres

Because "." is not a relative path :P

It is actually, it corresponds to the current directory.

It is however redundant in the script, it works equally good without it.

Here's how to code should look like:

FileCopy ("hello.dll", "C:\Windows\blablabla\hello.dll")

:)


Broken link? PM me and I'll send you the file!

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  

×