Code: Select all
UpdateFile:
FileCopy, G:\Docs\BD\BD.png, C:\Apache24\htdocs\BD.png, 1
sleep, 5000
Goto UpdateFile
G:\ is a network hard drive.
If I change it to:
Code: Select all
FileCopy, C:\Apache24\htdocs\BD.png, C:\Apache24\htdocs\BD2.png, 1
I've tried to add Enable linked connections in RegEdit but it still doesn't work. I've tried Run as Administrator, doesn't work either.
I've also tried
Code: Select all
If !FileExist("G:\Docs\BD\BD.png") {
MsgBox, 48, Error, Not found.
Return
}
Anyone know what might be wrong? If I paste the file path in Explorer the picture opens. So the path is valid.
/Jens