[1.1.35.00] FileCreateDir or FileCopy can not work Topic is solved

Report problems with documented functionality
tuzi
Posts: 223
Joined: 27 Apr 2016, 23:40

[1.1.35.00] FileCreateDir or FileCopy can not work

Post by tuzi » 22 Nov 2022, 19:53

this code will work in 1.1.34.04

but it not work in 1.1.35.00

Code: Select all

FileCreateDir backup\Default\Network\
FileCopy First Run, backup\First Run        ; copy a file "first run"

lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: [1.1.35.00] FileCreateDir or FileCopy can not work

Post by lexikos » 22 Nov 2022, 21:22

It will work if you remove the trailing backslash.

tuzi
Posts: 223
Joined: 27 Apr 2016, 23:40

Re: [1.1.35.00] FileCreateDir or FileCopy can not work

Post by tuzi » 23 Nov 2022, 20:13

This change will break the compatibility of many old scripts.

I have a auto backup script, after switching to version 1.1.35.00 for many days, I found that the backup did not complete correctly causing some strange conditions on my computer and finally it took 2 hours to find out what the problem was FileCreateDir.

I think many people will encounter the same situation.

lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: [1.1.35.00] FileCreateDir or FileCopy can not work

Post by lexikos » 23 Nov 2022, 23:57

Huh? It's a bug. Notice the topic is still in the Bug Reports forum and unsolved. I'm just telling you how you can work around it for now.


Post Reply

Return to “Bug Reports”