<HTML><HEAD><TITLE>P4Web User Guide - Opening Files for Delete</TITLE></HEAD><BODY><FONT SIZE=-1><B>P4Web Release 2012.1 User Guide</B></FONT><BR>
<FONT SIZE=-1><B><A HREF="quickstart.html">[Getting Started]</A> <A HREF="howto.html">[How To...]</A> <A HREF="tips.html">[Browser Tips]</A> <A HREF="defs.html">[Glossary]</A> <A HREF="roadmap.html">[Road Map]</A> </B></FONT><BR>
<H3>Opening Files for Delete</H3>
<p>
To delete files in a Perforce depot,
sync them to your workspace, run <b>open for delete</b>
on them, then submit your changelist.
<p>
The <b>open for delete</b> command removes files from
your workspace.
It doesn't affect depot files until you
submit your changelist.
The "<img src="../icons/delete.gif">" icon reminds you when you have
files open for delete.
(See also
<a href="remove.html">Removing Workspace Files</a>
if you simply want to remove your workspace files
without deleting them in the depot.)
<p>
You can open files for delete by:
<ul>
<li>Choosing <b>Open for delete...</b> from the <b>Action</b> menu.
<p>
<li>Clicking the "Open for delete" shortcut button with a directory selected,
which opens all the files at or below the current path level immediately,
putting them in the default changelist and removing them from your workspace.
<p>
<li>Clicking the "Open for delete" shortcut button when you have a file selected,
which opens the current file immediately, putting it in the default changelist
and removing it from your workspace.
</ul>
<p>
<h3>The Delete Options Page</h3>
<p>
Selecting <b>Open for delete...</b> takes you to the initial Open for Delete page, where you
select the options you want and click the "Open for delete" button to
open files for delete. You can chose from these options:
<blockquote>
<dl>
<p><dt><b>Put opened files in changelist</b></dt>
<dd>
If your client workspace has more than one pending changelist,
this option is available to let you
select the changelist into which opened files appear.
</dd>
<p><dt><a href="restrictfiles.html">Restricting files</a></dt>
<dd>
If you came to this page by clicking a directory and then selecting <B>Open for Delete...</B>
you can restrict the files affected by the
<b>Open for delete</b> command.
<p> Regardless of which files you select, a file is opened for delete only
if:
<p>
<ul>
<li>The file is not already opened in your workspace
<li>The file is synced in your workspace
<li>You have permission to open the file
</ul>
</dd>
</dl>
</blockquote>
<P>
<HR>
<FONT SIZE=-1><I>
Copyright 2012 <A HREF="http://www.perforce.com">Perforce Software</A>.
All rights reserved.
</I></FONT>
</BODY></HTML>