backupto no confirmation
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
backupto no confirmation
i need to copy one folder to sandboxie local folder (now sandboxie folder is empty).
i have burn this script
backupto "C:\Sandbox\......\........\user\current\AppData\Local\", "D:\mnb66855rdfs\avas\bajstrd\", 2, 0, 0, 0, 0, 0, 0;
but sandboxie folder is empty and xy show message "you want create it now?"
how to disable this message? i have put 2, 0, 0, 0, 0, 0, 0;
but i see ever this message.... i don't want confirmation to this operation.
i have burn this script
backupto "C:\Sandbox\......\........\user\current\AppData\Local\", "D:\mnb66855rdfs\avas\bajstrd\", 2, 0, 0, 0, 0, 0, 0;
but sandboxie folder is empty and xy show message "you want create it now?"
how to disable this message? i have put 2, 0, 0, 0, 0, 0, 0;
but i see ever this message.... i don't want confirmation to this operation.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 15012
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto no confirmation
By using copyto with the correct flags parameter or creating the folder before using backupto...
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
with copyto (instead of backup to) it does not change... same problem.
and i don't want creating the folder before using backupto or copyto: i need to run my script without confirmation....
and i don't want creating the folder before using backupto or copyto: i need to run my script without confirmation....
-
highend
- Posts: 15012
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto no confirmation
Because your flags parameter is wrong...
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
ok. and which is correct flags parameter?
-
highend
- Posts: 15012
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto no confirmation
Read the docs, count, fill the correct value in the correct position?
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
try copyto 2, 0 "C:\Sandbox\......\........\user\current\AppData\Local\", "D:\mnb66855rdfs\avas\bajstrd\";
not work
read docs... i have already read docs but i don't find this specific case....
I don't know where to look, otherwise I wouldn't have asked here.....
not work
read docs... i have already read docs but i don't find this specific case....
I don't know where to look, otherwise I wouldn't have asked here.....
-
highend
- Posts: 15012
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto no confirmation
i have already read docs but i don't find this specific case....
Code: Select all
copyto [location], [source], [rootpath], [flags], [autorichop], [on_collision], [preserve_dates], [create_log], [pop_stats], [skip_junctions], [verify], [show_progress]
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
i count 10 value, then:
copyto "C:\Sandbox\.........\user\current\AppData\Local\", "D:\......................\", 2, 0, 0, 0, 0, 0, 0, 0, 0, 0;
same result.....
copyto "C:\Sandbox\.........\user\current\AppData\Local\", "D:\......................\", 2, 0, 0, 0, 0, 0, 0, 0, 0, 0;
same result.....
Last edited by swan_x on 06 Mar 2020 19:18, edited 1 time in total.
-
highend
- Posts: 15012
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto no confirmation
So you're populating
rootpath with a value of 2. Does this really make sense to you?One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
ok. try with
same result......
Code: Select all
copyto "C:\Sandbox\.......\........\user\current\AppData\Local\", "D:\....................\", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;-
highend
- Posts: 15012
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: backupto no confirmation
Holy cow. rootpath expects a string (if it is used at all and NO it's NOT required here!), not a number. And then you populate flags (the one that REALLY matters here) with a 0 again. While it needs which value to skip the prompt to create the folder? 2
One of my scripts helped you out? Please donate via Paypal
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
sorry, i try
same result... please, PLEASE write correct string for me, please!
Code: Select all
copyto [location], [source], 2;-
RalphM
- Posts: 2139
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: backupto no confirmation
You might want to read up a bit more on the general use of scripting commands and how to skip parameters you don't need while still being able to set the ones you need.
While you might not find the exact example for your current problem, there are heaps of examples in the scripting area showing how to do stuff like this.
While you might not find the exact example for your current problem, there are heaps of examples in the scripting area showing how to do stuff like this.
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
swan_x
- Posts: 335
- Joined: 08 Oct 2009 12:27
Re: backupto no confirmation
oh guys, i don't understand your problem in helping me....
i have read help file, and i certainly would not want to waste time asking for prayers from you....
but if i am here it means that i have made several tests and read the guide but i have not found what i need....
is it possible that in the whole forum nobody knows how to simply write a line of text for what I need ??
I simply ask for a command that does not ask for confirmation in the creation of a folder ... I don't seem to want much ....
i have read help file, and i certainly would not want to waste time asking for prayers from you....
but if i am here it means that i have made several tests and read the guide but i have not found what i need....
is it possible that in the whole forum nobody knows how to simply write a line of text for what I need ??
I simply ask for a command that does not ask for confirmation in the creation of a folder ... I don't seem to want much ....
XYplorer Beta Club