<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> <TITLE>-y (assume Yes on all queries) switch</TITLE> <LINK href="style.css" rel="stylesheet" type="text/css"> </HEAD> <BODY> <H1>-y (assume Yes on all queries) switch</H1> <P>Disables most of the normal user queries during 7-Zip execution. You can use this switch to suppress overwrite queries in the <A href="../commands/extract.htm">e (Extract)</A> and <A href="../commands/extract_full.htm">x (Extract with full paths)</A> commands.</P> <H4>Syntax</H4> <PRE class="syntax">-y</PRE> <H4>Examples</H4> <PRE class="example"> 7z x src.zip -y </PRE> <P>extracts all files from <SPAN class="filename">src.zip</SPAN> archive. All overwrite queries will be suppressed and files on disk with same filenames as in archive will be overwritten.</P> <H4>Commands that can be used with this switch</H4> <P> <A href="../commands/extract.htm">e (Extract)</A>, <A href="../commands/extract_full.htm">x (Extract with full paths)</A> </P> <H4>See also</H4> <P> <B>Switches:</B> <A href="overwrite.htm">-ao (Overwrite mode)</A>, </P> </BODY> </HTML>