Page 1 of 2

backupto no confirmation

Posted: 06 Mar 2020 09:57
by swan_x
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.

Re: backupto no confirmation

Posted: 06 Mar 2020 10:58
by highend
By using copyto with the correct flags parameter or creating the folder before using backupto...

Re: backupto no confirmation

Posted: 06 Mar 2020 14:48
by swan_x
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....

Re: backupto no confirmation

Posted: 06 Mar 2020 15:23
by highend
Because your flags parameter is wrong...

Re: backupto no confirmation

Posted: 06 Mar 2020 16:48
by swan_x
ok. and which is correct flags parameter?

Re: backupto no confirmation

Posted: 06 Mar 2020 16:51
by highend
Read the docs, count, fill the correct value in the correct position?

Re: backupto no confirmation

Posted: 06 Mar 2020 17:59
by swan_x
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.....

Re: backupto no confirmation

Posted: 06 Mar 2020 18:23
by highend
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]

Re: backupto no confirmation

Posted: 06 Mar 2020 18:52
by swan_x
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.....

Re: backupto no confirmation

Posted: 06 Mar 2020 18:59
by highend
So you're populating rootpath with a value of 2. Does this really make sense to you?

Re: backupto no confirmation

Posted: 06 Mar 2020 19:17
by swan_x
ok. try with

Code: Select all

copyto "C:\Sandbox\.......\........\user\current\AppData\Local\", "D:\....................\", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;
same result......

Re: backupto no confirmation

Posted: 06 Mar 2020 19:27
by highend
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

Re: backupto no confirmation

Posted: 06 Mar 2020 20:02
by swan_x
sorry, i try

Code: Select all

copyto [location], [source], 2;
same result... please, PLEASE write correct string for me, please!

Re: backupto no confirmation

Posted: 07 Mar 2020 07:26
by RalphM
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.

Re: backupto no confirmation

Posted: 07 Mar 2020 08:59
by swan_x
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 ....