Skip to content

Commit c9d678c

Browse files
committed
Updated Peek overview document with file deletion dialog and related settings information.
1 parent cdc95f5 commit c9d678c

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed
9.74 KB
Loading

hub/powertoys/peek.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: PowerToys Peek utility for Windows
33
description: A system-wide utility for Windows to quickly preview file content.
4-
ms.date: 11/19/2024
5-
ms.topic: concept-article
4+
ms.date: 08/03/2023
5+
ms.topic: article
66
no-loc: [PowerToys, Windows, Peek, Win]
7-
# Customer intent: Learn how to configure and use the Peek utility in PowerToys.
87
---
98

109
# Peek utility
@@ -21,7 +20,8 @@ Using <kbd>Left</kbd> and <kbd>Right</kbd> or <kbd>Up</kbd> and <kbd>Down</kbd>,
2120

2221
## Pin preview window position and size
2322

24-
The Peek window adjusts its size based on the dimensions of the images being previewed. However, if you prefer to keep the window's size and position, you can use the pinning feature. By selecting the pinning button, the window will preserve the current size and position. Selecting the pinning button again will unpin the window. When unpinned, the Peek window will return to the default position and size when previewing the next file.
23+
The Peek window adjusts its size based on the dimensions of the images being previewed. However, if you prefer to keep the window's size and position, you can use the pinning feature.
24+
By selecting the pinning button, the window will preserve the current size and position. Selecting the pinning button again will unpin the window. When unpinned, the Peek window will return to the default position and size when previewing the next file.
2525

2626
## Open file with the default program
2727

@@ -33,7 +33,16 @@ Hover over the preview to see extra information about the file, including its si
3333

3434
## Delete files
3535

36-
Press the <kbd>Delete</kbd> key to send the current file to the Recycle Bin. Peek will automatically preview the next file. If there are no more files to preview, a message will be displayed.
36+
Press the <kbd>Delete</kbd> key to move the current file to the Recycle Bin.
37+
38+
By default, a confirmation dialog will appear before deletions. To skip future confirmations, either:
39+
40+
- Check the "Don't ask me again" checkbox in the dialog.
41+
- Uncheck the "Ask for confirmation before deleting files" option in Peek's settings page.
42+
43+
![Example of Peek's file deletion confirmation dialog](../images/pt-peek-delete-confirmation.png)
44+
45+
After deleting the file, Peek will automatically preview the next file. If there are no more files to preview, a message will be displayed.
3746

3847
> [!TIP]
3948
> Only files may be deleted. Folders may not be deleted, even if they are empty.
@@ -46,6 +55,7 @@ From the settings page, the following options can be configured:
4655
| :--- | :--- |
4756
| Activation shortcut | The customizable keyboard command to open Peek for the selected file(s). |
4857
| Always run not elevated, even when PowerToys is elevated | Tries to run Peek without elevated permissions, to fix access to network shares. |
49-
| Automatically close the Peek window after it loses focus | |
58+
| Automatically close the Peek window after it loses focus | |
59+
| Ask for confirmation before deleting files | When enabled, Peek shows a confirmation dialog before deleting files. |
5060

5161
[!INCLUDE [install-powertoys.md](../includes/install-powertoys.md)]

0 commit comments

Comments
 (0)