backupto no confirmation

Discuss and share scripts and script files...
swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

backupto no confirmation

Post 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.
Attachments
46456546.jpg
46456546.jpg (18 KiB) Viewed 4178 times

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: backupto no confirmation

Post by highend »

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: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post 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....

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: backupto no confirmation

Post by highend »

Because your flags parameter is wrong...
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post by swan_x »

ok. and which is correct flags parameter?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: backupto no confirmation

Post by highend »

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: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post 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.....

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: backupto no confirmation

Post 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]
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post 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.....
Last edited by swan_x on 06 Mar 2020 19:18, edited 1 time in total.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: backupto no confirmation

Post by highend »

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: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post 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......

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: backupto no confirmation

Post 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
One of my scripts helped you out? Please donate via Paypal

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post by swan_x »

sorry, i try

Code: Select all

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

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: backupto no confirmation

Post 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.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

swan_x
Posts: 321
Joined: 08 Oct 2009 12:27

Re: backupto no confirmation

Post 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 ....

Post Reply