UnholySpirit Posted July 1, 2008 Share Posted July 1, 2008 (edited) 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 July 1, 2008 by UnholySpirit Link to comment Share on other sites More sharing options...
Kiti Posted July 1, 2008 Share Posted July 1, 2008 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) Because "." is not a relative path Think outside the box.My Cool Lego Technic Website -- see walking bipeds and much more!My YouTube account -- see cool physics experimentsMy scripts:Minesweeper bot: Solves advanced level in 1 second (no registry edit), very improved GUI, 4 solving stylesCan't go to the toilet because of your kids closing your unsaved important work? - Make a specific window uncloseableCock Shooter Bot -- 30 headshots out of 30 Link to comment Share on other sites More sharing options...
monoceres Posted July 1, 2008 Share Posted July 1, 2008 Because "." is not a relative path 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! 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