CopyFile() not working...
Blitz3D Forums/Blitz3D Programming/CopyFile() not working...
| ||
I pass it a file, and a destination path, and it doesnt seem to be doing anything. |
| ||
Try copy to the same folder first to see if it's the command or the path that is wrong... |
| ||
Definately not wrong directories/paths... :\. Wierd. |
| ||
do you use \ slashes? |
| ||
You have to specify the file name of the destination, not just the path. If the destination in somewhere other than the current directory then you must specify both path and file name. |
| ||
path and filename both being dictated, yes I am using \ slashes, and I'm using FULL path/filenames in the copyfile() call. |
| ||
The directory must also be real that you are copying the file to, it will not create the directory for you. You wouldn't have to make us guess what's wrong if you were to show us code. |
| ||
CopyFile "C:\Documents and Settings\Michael\Desktop\File Update\extras\MessageBox.bb", "C:\Documents and Settings\Michael\Desktop\File Update" Even this doesnt work. |
| ||
it wouldn't, there's no ending filename. |
| ||
Rob you git! Was going to edit me last post ;) |
| ||
MWUAHAHAHHAHAHAAHA |
| ||
Definately not wrong directories/paths... :\. Wierd. LOL :) |
| ||
Don't make me slap you! ;) |