i want a simple script to backupto my file abc.txt from D:\000 to D:\apps\ and after wipe this file abc.txt from D:\000\. I have try this:
backupto "D:\apps\", "D:\000\abc.txt", 2, 0, 0, 0, 0, 0, 0;
wipe "D:\000\abc.txt"
but this not work in sequence mode! suggestion??
backupto and wipe sequence
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto and wipe sequence
Code: Select all
setting('BackgroundFileOps', 0);One of my scripts helped you out? Please donate via Paypal
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: backupto and wipe sequence
What does:
Maybe the backupto is executed in the background, so wipe is executed before backupto ended? Then you should add as first command:
This will temporarily (for execution of this script) stop background operation and execute all commands in sequence.
Edit: 2 minutes too slow
But I think without ()
No matter if " or '
mean?swan_x wrote:but this not work in sequence mode!
Maybe the backupto is executed in the background, so wipe is executed before backupto ended? Then you should add as first command:
Code: Select all
setting "BackgroundFileOps", 0;Edit: 2 minutes too slow
But I think without ()
No matter if " or '
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto and wipe sequence
That's the two minutes that matter!Edit: 2 minutes too slow
Can be used with or without them. Works in both cases.But I think without ()
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto and wipe sequence
guys...but you try your script???
for me nothing work correctly!!
in any case, whit or whitout () the script not work!
for me nothing work correctly!!
in any case, whit or whitout () the script not work!
To see the attached files, you need to log into the forum.
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto and wipe sequence
No, why should we?guys...but you try your script???
And the error message looks like? And if there isn't any error message, what's going wrong?in any case, whit or whitout () the script not work!
One of my scripts helped you out? Please donate via Paypal
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: backupto and wipe sequence
Funny: some minutes, again
And I think I'll write nothing more - highend said it yet
And I think I'll write nothing more - highend said it yet
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto and wipe sequence
this script dont run the operation (1-backupto 2-after delete the file) but i see little windows with 2 choice (see my previous attachment )
i want run this 2 operation in sequence...it's possible??
i want run this 2 operation in sequence...it's possible??
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto and wipe sequence
Because you didn't indent all lines after the first one.
One of my scripts helped you out? Please donate via Paypal
-
PeterH
- Posts: 2827
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
Re: backupto and wipe sequence
Oughhighend wrote:Because you didn't indent all lines after the first one.
I wouldn't have seen / recognized this, so:
And to be said: if I would have tested, I would not have tested this!
(I think noone had...)
Why do I write this here?
I want to request everyone asking for help to explain, as good as he can, what happens if something goes wrong!
That would be the best way to help those who want to help.
XYplorer Beta Club