Blockland Forums > Modification Help
Moving an Image
MegaScientifical:
--- Quote from: Ephialtes on August 04, 2010, 01:54:07 AM ---fileCopy(source, destination) ?
--- End quote ---
Wow, that really exists? That seemed WAAAY too straightforward and obvious to be considered. o_o
lilboarder32:
--- Quote from: Ephialtes on August 04, 2010, 01:54:07 AM ---fileCopy(source, destination) ?
--- End quote ---
No, I tried that right away. It doesn't actually copy it.
Ephialtes:
Works fine for me. Are you sure you're typing the right things in?
lilboarder32:
--- Quote from: Ephialtes on August 06, 2010, 03:29:46 PM ---Works fine for me. Are you sure you're typing the right things in?
--- End quote ---
I was hoping you'd say that. I'll have to try again. I tried before fileCopy("screenshots/ACMCity.jpg","screenshots/ACM/ACMCity.jpg"); as a test and nothing seemed to happen. I tried doing that same thing, but with apostraphes instead of quotes and it echoed something like "file 124 not found". How did you do it?
Ephialtes:
The command will not create destination directories. You'll have to make those yourself and then copy the file.