{"id":9357,"date":"2019-05-18T06:14:29","date_gmt":"2019-05-18T06:14:29","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=9357"},"modified":"2025-12-12T08:28:31","modified_gmt":"2025-12-12T02:58:31","slug":"find-and-delete-zero-byte-files-recursively-windows","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/find-and-delete-zero-byte-files-recursively-windows\/","title":{"rendered":"How to Delete Empty files (0 byte) in Windows?"},"content":{"rendered":"<p>Some applications create empty 0-byte files in their data folders and fail to clear them up. Over time, if you see many zero-byte files in a folder hierarchy, here are some methods to find all those 0-byte files and delete them.<\/p>\n<p><!--more--><\/p>\n<div id=\"toc\">\n<h4>Find and\/or delete empty (0 byte) files in Windows:<\/h4>\n<ol>\n<li><a href=\"#utility\">using &#8220;Find Empty Files-n-Folders&#8221; utility<\/a><\/li>\n<li><a href=\"#search\">using Windows Search<\/a><\/li>\n<li><a href=\"#cmd\">using Command Prompt<\/a><\/li>\n<li><a href=\"#powershell\">using PowerShell<\/a><\/li>\n<li><a href=\"#script\">using VBScript<\/a><\/li>\n<li><a href=\"#delempty\">using DelEmpty.exe<\/a><\/li>\n<\/ol>\n<\/div>\n<h2>Find and delete 0-byte files recursively in a folder tree<\/h2>\n<p>It&#8217;s important to note that deleting 0-byte files arbitrarily can be problematic sometimes, as some applications may need them as a placeholder or for some other reason. If you&#8217;re sure that you don&#8217;t need any 0-byte files in a folder path and want to delete them all, follow one of the methods below.<\/p>\n<p>Let&#8217;s start with a neat 3rd party freeware GUI tool, and then cover the native methods next.<\/p>\n<h3><a id=\"utility\"><\/a>1. Using the &#8220;Find Empty Files-n-Folders&#8221; utility<\/h3>\n<p>Find Empty Files-n-Folders is an excellent tool that can find and delete empty files (0-byte) and <a href=\"https:\/\/www.winhelponline.com\/blog\/find-and-delete-empty-folders-windows\/\">empty folders<\/a> recursively under a folder tree.<\/p>\n<p>Download <a href=\"https:\/\/www.ashisoft.com\/find-empty-folders.htm\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Find Empty Files-n-Folders<\/a> (600KB installer) from Ashisoft.com.<\/p>\n<p>Select the folder and click Scan Now.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9425\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/find-empty-files-folders-1.png\" alt=\"remove empty folders in windows\" width=\"750\" height=\"523\" \/><\/p>\n<p>The tool will list empty files and folders in separate tabs.<\/p>\n<p>From the Empty Files tab, click <strong>Mark all Files<\/strong> and then click <strong>Delete Files<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9426\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/find-empty-files-folders-3.png\" alt=\"remove 0-byte empty files in windows\" width=\"750\" height=\"522\" \/><\/p>\n<p>Similarly, to <a href=\"https:\/\/www.winhelponline.com\/blog\/find-and-delete-zero-byte-files-recursively-windows\/\" target=\"_blank\" rel=\"noopener noreferrer\">delete the 0-byte files<\/a> in the selected folder tree, click on the <strong>Empty Files<\/strong> tab.<\/p>\n<p>Ashisoft.com has other awesome tools that you can check out!<\/p>\n<hr \/>\n<h3><a id=\"search\"><\/a>2. Using Windows Search<\/h3>\n<p>Windows Search allows you to list all 0-byte files using the <code>size:<\/code> query operator.<\/p>\n<p>Open the folder where you want to find or delete empty files.<\/p>\n<p>In the search box, type <code>size:empty<\/code> or <code>size:0 KB<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9360\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/find-0-byte-files-2.png\" alt=\"find and delete 0-byte files in windows\" width=\"700\" height=\"356\" \/><\/p>\n<p>To filter the results by a file extension (e.g., javascript files \u2192 extension <code>.js<\/code> ), use the following <a href=\"https:\/\/www.winhelponline.com\/blog\/search-files-created-between-date-range\/\">Advance Query Syntax<\/a> (AQS):<\/p>\n<pre>size:empty AND ext:js<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9361\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/find-0-byte-files-3.png\" alt=\"find and delete 0-byte files in windows\" width=\"700\" height=\"295\" \/><\/p>\n<hr \/>\n<h3><a id=\"cmd\"><\/a>3. Using Command Prompt<\/h3>\n<p>To list all 0-byte (0 KB) files is a folder and sub-folders recursively and output the names to a file, use the following command.<\/p>\n<p>Note that you&#8217;ll need to run the command from the folder where you want to find or delete empty (0 KB) files.<\/p>\n<pre>for \/r %F in (*) do @if %~zF==0 echo \"%F\" &gt;&gt;d:\\0byte-files.txt<\/pre>\n<p>Alternately, you can include the target folder path in the <code>for<\/code> command so that you don&#8217;t have to change the directory in the console window. Example:<\/p>\n<pre>for \/r \"d:\\websites\" %F in (*) do @if %~zF==0 echo \"%F\" &gt;&gt;d:\\0byte-files.txt<\/pre>\n<p>That way, you don&#8217;t have to switch over to that particular folder in Command Prompt<\/p>\n<p>The complete list of 0-byte files output is written to the file named <code>0byte-files.txt<\/code> on the <code>D:\\<\/code> drive.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9358\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/find-0-byte-files-1.png\" alt=\"find and delete 0-byte files in windows\" width=\"700\" height=\"331\" \/><\/p>\n<p>To delete the files, you&#8217;d use the <code>del<\/code> command instead of <code>echo<\/code>.<\/p>\n<pre>for \/r %F in (*.*) do @if %~zF==0 del \"%F\"<\/pre>\n<p>or mention the target folder path in the command itself:<\/p>\n<pre>for \/r \"d:\\websites\" %F in (*.*) do @if %~zF==0 del \"%F\"<\/pre>\n<h4>Find and delete 0-byte files having a specific file extension<\/h4>\n<p>In the above examples, you can even filter by file extension. For instance, to delete 0-byte <code>.txt<\/code> files, you&#8217;d use <code>*.txt<\/code> instead of <code>*.*<\/code> or <code>*<\/code><\/p>\n<pre>for \/r %F in (*.txt) do @if %~zF==0 del \"%F\"<\/pre>\n<p>or with mentioning the folder path:<\/p>\n<pre>for \/r \"d:\\websites\" %F in (*.txt) do @if %~zF==0 del \"%F\"<\/pre>\n<p>That would delete all the empty <code>.txt<\/code> files from the current folder and sub-folders, or in the specified folder tree recursively.<\/p>\n<h4>Create a Batch file<\/h4>\n<p>If you&#8217;d like to make a batch file to <strong>find and list<\/strong> empty files and output the results to a text file, here is one:<\/p>\n<pre>@echo off\r\nset out=\"d:\\0byte-files.txt\"\r\nfor \/r \"%~1.\" %%A in (*.*) do if %%~zA == 0 echo \"%%~fA\" &gt;&gt; %out%<\/pre>\n<p>Save the above contents as <code>find-empty-files.bat<\/code>.<\/p>\n<p>To <strong>delete<\/strong> empty files rather than outputting the list of files, use this batch file:<\/p>\n<pre>@echo off\r\nfor \/r \"%~1.\" %%A in (*.*) do if %%~zA == 0 del \"%%~fA\"<\/pre>\n<p>To <strong>run the batch file<\/strong> against a folder recursively, you&#8217;d use the following syntax:<\/p>\n<pre>d:\\scripts\\find-empty-files.bat  d:\\websites<\/pre>\n<div class=\"qt\">\n<h4>What does the above command do?<\/h4>\n<ul>\n<li><code>for \/r %F in (*)<\/code> iterates files recursively in the mentioned folder and subfolders.<\/li>\n<li><code>if %~zF==0<\/code> checks if the iterated file is a 0-byte file<\/li>\n<li><code>del %%~fA<\/code> delete the 0-byte file<\/li>\n<\/ul>\n<\/div>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/find-and-delete-empty-folders-windows\/\">How to Find and Delete Empty Folders Automatically in Windows<\/a><\/div>\n<hr \/>\n<h3><a id=\"powershell\"><\/a>4. Using PowerShell<\/h3>\n<p>Start PowerShell.exe and use one of the following methods:<\/p>\n<h4>List empty (0 KB) files<\/h4>\n<p>To <strong>get the list<\/strong> of 0-byte files under a folder tree, use this command-line syntax:<\/p>\n<pre>Get-ChildItem -Path \"D:\\websites\\test\" -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 }  | Select -ExpandProperty FullName<\/pre>\n<p>To output the list to a file:<\/p>\n<pre>Get-ChildItem -Path \"D:\\websites\" -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 } | Select -ExpandProperty FullName | Set-Content -Path d:\\found.txt<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9362\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/find-0-byte-files-4.png\" alt=\"find and delete 0-byte files in windows - powershell\" width=\"701\" height=\"310\" \/><\/p>\n<p>To output the list to grid view:<\/p>\n<pre>Get-ChildItem -Path \"D:\\websites\" -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 }  | out-gridview<\/pre>\n<p>To list only a <strong>specific file type<\/strong> (e.g., <code>.bmp<\/code>) :<\/p>\n<pre>Get-ChildItem -Path \"D:\\websites\" -include *.bmp -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 }  | out-gridview<\/pre>\n<h4>Delete empty (0 KB) files<\/h4>\n<p>To <strong>delete<\/strong> all the 0-byte files under a folder tree, use this command-line syntax:<\/p>\n<pre>Get-ChildItem -Path \"D:\\websites\" -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 }  | remove-item<\/pre>\n<p>To delete 0-byte files having a <strong>specific extension<\/strong> (e.g., <code>.bmp<\/code>)<\/p>\n<pre>Get-ChildItem -Path \"D:\\websites\" -include *.bmp -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 }  | remove-item<\/pre>\n<hr \/>\n<h3><a id=\"script\"><\/a>5. Using VBScript<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-9528\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/del-0-byte-files-script.png\" alt=\"delete 0-byte empty files in windows - vbscript\" width=\"211\" height=\"106\" \/>The following VBScript clears empty (0-byte) files in a folder tree recursively.<\/p>\n<p>Copy the following code to Notepad and save it as <code>del-zero-byte-files.vbs<\/code><\/p>\n<p><script src=\"https:\/\/gist.github.com\/winhelponline\/bdcdade6ec13bae0d7783ab63ff47575.js\"><\/script><\/p>\n<p><noscript><\/p>\n<pre><code>\r\nOption Explicit\r\n\r\nIf (WScript.Arguments.Count &lt;&gt; 1) Then\r\n   WScript.Echo(\"Usage: cscript DeleteEmptyFolders.vbs {path}\")\r\n   WScript.Quit(1)\r\nEnd If\r\n\r\nDim strPath : strPath = WScript.Arguments(0)\r\nDim fso : Set fso = CreateObject(\"Scripting.FileSystemObject\")\r\nDim objFolder : Set objFolder = fso.GetFolder(strPath)\r\nDim sDelList, sDelErr, sFilePath\r\nDim iCnt\r\niCnt = 0\r\n\r\nDeleteZeroByteFiles objFolder\r\n\r\nSub DeleteZeroByteFiles(folder)\r\n   Dim subfolder, file\r\n\r\n   On Error Resume Next\r\n   'Skip errors when accessing Junctions, etc.\r\n   For Each subfolder In folder.SubFolders\r\n      DeleteZeroByteFiles subfolder\r\n   Next\r\n   On Error Goto 0\r\n   \r\n   For Each file In folder.files\r\n      If file.size = 0 Then\r\n      sFilePath = file.Path\r\n      On Error Resume Next\r\n      fso.DeleteFile file, True\r\n      If Err.number &lt;&gt; 0 Then\r\n         sDelErr = sDelErr &amp; Err.number &amp; \": \" &amp; Err.description &amp; _\r\n         \tvbCrLf &amp; sFilePath &amp; vbCrLf &amp; vbCrLf\r\n      Else\r\n         sDelList = sDelList &amp; vbCrLf &amp; sFilePath\r\n\t iCnt  = iCnt + 1\r\n      End If\t\t\r\n      On Error Goto 0\r\n   End If\t\r\n   Next\r\nEnd Sub\r\n\r\nIf sDelList = \"\" And sDelErr = \"\" Then\r\n   WScript.Echo \"No Empty files found under the \" &amp; _\r\n\t\"\"\"\" &amp; strPath &amp; \"\"\"\" &amp; \" tree\"\r\n   WScript.Quit\r\nEnd If\r\n\r\nIf sDelList &lt;&gt; \"\" then sDelList = \"List of empty files deleted\" &amp; vbCrLf _\r\n   &amp; String(38,\"-\") &amp; vbCrLf &amp; sDelList &amp; vbCrLf &amp; _\r\n\tvbCrLf  &amp; \"Total: \" &amp; iCnt &amp; \" files deleted.\"\r\n\r\nIf sDelErr &lt;&gt; \"\" then sDelErr = \"These files could not be deleted\" &amp; _\r\n   vbCrLf &amp; String(45,\"-\") &amp; vbCrLf &amp; sDelErr\r\n\r\nWScript.Echo sDelList &amp; vbCrLf &amp; vbCrLf &amp; sDelErr\r\n<\/code><\/pre>\n<p><\/noscript><\/p>\n<h4>Usage<\/h4>\n<p>To run the script against a folder, you can use wscript.exe or cscript.exe, like below:<\/p>\n<pre>cscript d:\\scripts\\del-zero-byte-files.vbs \"d:\\travel documents\"\r\nwscript d:\\scripts\\del-zero-byte-files.vbs \"d:\\travel documents\"<\/pre>\n<p>CScript.exe shows the outputs to the console window. That means you&#8217;ll need to run it from a Command Prompt window to see the output.<\/p>\n<p>WScript.exe shows the outputs in the GUI.<\/p>\n<p><strong>via the Send To menu<\/strong><\/p>\n<p>You can create a shortcut to the script in your <a href=\"https:\/\/www.winhelponline.com\/blog\/shell-commands-to-access-the-special-folders\/\">SendTo folder<\/a>\u00a0and name it as <strong>Delete 0-byte Files<\/strong>. Prefix <code>wscript.exe<\/code> in the shortcut properties target field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9527\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/del-0-byte-files-script-shortcut.png\" alt=\"delete 0-byte empty files in windows - vbscript\" width=\"690\" height=\"425\" \/><\/p>\n<p>Then, right-click on a folder where you want to delete empty files in the folder tree recursively \u2192 click <strong>Send To<\/strong> \u2192 click <strong>Delete 0-byte Files<\/strong> in the Send To menu.<\/p>\n<p>You\u2019ll see the list of empty files deleted and the total, and files which couldn\u2019t be deleted with the respective error codes displayed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9526\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/del-0-byte-files-script-output.png\" alt=\"delete 0-byte empty files in windows - vbscript\" width=\"250\" height=\"328\" \/><\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/find-and-delete-empty-folders-windows\/#script\">How to Remove Empty Folders Automatically in Windows<\/a><\/div>\n<hr \/>\n<h3><a id=\"delempty\"><\/a>6. Using DelEmpty.exe<\/h3>\n<p><a href=\"http:\/\/www.intelliadmin.com\/index.php\/downloads\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">DelEmpty.exe<\/a> is a console tool from IntelliAdmin that can delete empty directories recursively. This program can also swiftly delete the empty <a href=\"https:\/\/www.winhelponline.com\/blog\/find-and-delete-zero-byte-files-recursively-windows\/\">0-byte files<\/a> recursively.<\/p>\n<p>The following is the command-line syntax for the program:<\/p>\n<pre>DelEmpty.exe OPTIONS [PATH]<\/pre>\n<table style=\"border-collapse: collapse; width: 60%;\">\n<tbody>\n<tr>\n<td style=\"width: 25%; text-align: center;\"><strong>Argument<\/strong><\/td>\n<td style=\"width: 75%; text-align: center;\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-f<\/td>\n<td style=\"width: 75%;\">Delete empty (0-byte) files<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-d<\/td>\n<td style=\"width: 75%;\">Delete empty directories<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-v<\/td>\n<td style=\"width: 75%;\">Verbose mode<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-c<\/td>\n<td style=\"width: 75%;\">Confirm mode (Shows what was deleted)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-s<\/td>\n<td style=\"width: 75%;\">Include sub-directories (traverse subfolders)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-l<\/td>\n<td style=\"width: 75%;\">List what would be deleted (<strong>will not delete<\/strong>)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%; text-align: center;\">-y<\/td>\n<td style=\"width: 75%;\">Delete without (y\/n) prompt<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Example 1:<\/strong> To <strong>list<\/strong> the empty files under a directory and its subdirectories, I used the following command-line syntax:<\/p>\n<pre>DelEmpty.exe \"New Folder\" -f -c -s -y -l<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20255\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/delempty-0-byte-files-1.png\" alt=\"delete empty files recursively\" width=\"700\" height=\"212\" \/><\/p>\n<p>The above command shows the list of empty folders, but will not delete them since the <code>-l<\/code> (<strong>list only<\/strong>) switch is used.<\/p>\n<p><em>For folder names containing space(s) \u2014 e.g., <code>Mozilla Firefox<\/code>, be sure to include the double-quotes around the path.<\/em><\/p>\n<p><strong>Example 2:<\/strong> To <strong>delete<\/strong> the empty files in a folder and subfolders, I ran the same command-line but without the <code>-l<\/code> switch:<\/p>\n<pre>DelEmpty.exe \"New Folder\" -f -c -s -y<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20254\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/05\/delempty-0-byte-files-2.png\" alt=\"delete empty files recursively\" width=\"700\" height=\"179\" \/><\/p>\n<p><em>Do you know any other utility that can traverse sub-folders and delete empty files? Let&#8217;s know your comments.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some applications create empty 0-byte files in their data folders and fail to clear them up. Over time, if you see many zero-byte files in a folder hierarchy, here are some methods to find all those 0-byte files and delete them.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[106,396,480,683],"class_list":["post-9357","post","type-post","status-publish","format-standard","hentry","category-windows","tag-command-prompt","tag-powershell","tag-scripts","tag-windows-search"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":8771,"url":"https:\/\/www.winhelponline.com\/blog\/find-and-delete-empty-folders-windows\/","url_meta":{"origin":9357,"position":0},"title":"How to Find and Remove Empty Folders in Windows","author":"Ramesh","date":"April 21, 2019","format":false,"excerpt":"Over time, hundreds of empty folders and junk files may take up your hard disk. While the junk files occupy disk space and can be cleaned up using Disk Cleanup or Storage settings, the empty directories remain. The empty folders don't take up disk space, but to organize your data\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"find and delete empty directories using searchmyfiles utility","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/searchmyfiles_find_empty_folders_1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/searchmyfiles_find_empty_folders_1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/searchmyfiles_find_empty_folders_1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":77725,"url":"https:\/\/www.winhelponline.com\/blog\/what-are-wal-files\/","url_meta":{"origin":9357,"position":1},"title":"What are WAL files in the C Drive","author":"Ramesh","date":"January 30, 2025","format":false,"excerpt":"You may find many 0-byte files in the root of the C:\\ drive. The file names may start with WAL. You wonder what causes these files to be created and whether they can be deleted. The empty (0-byte) WAL* files are created by Norton 360. They can be cleared. Turning\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"WAL files 0-byte - added by Norton 360","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2025\/01\/wal-files-norton.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":6018,"url":"https:\/\/www.winhelponline.com\/blog\/delete-unused-files-older-than-x-days-windows\/","url_meta":{"origin":9357,"position":2},"title":"How to Delete Files Older than N Days Automatically in Windows","author":"Ramesh","date":"December 11, 2017","format":false,"excerpt":"Windows 10 has built-in features to free up space by deleting old files in the %temp% directory and Downloads folder. Windows 10 Settings has an option (\"Storage\") which automatically clears temporary files your apps are not using, files in the Downloads that haven't been modified in the last x days,\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"windows 10 storage settings cleanup options","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1423,"url":"https:\/\/www.winhelponline.com\/blog\/fix-send-to-bluetooth-device-windows-10\/","url_meta":{"origin":9357,"position":3},"title":"Send To Menu Empty or Shows Only &#8220;Bluetooth Device&#8221;","author":"Ramesh","date":"January 10, 2016","format":false,"excerpt":"When right-clicking a file and clicking the Send To menu in Windows, only the Bluetooth Device shortcut may be displayed, although the other shortcuts, including the default ones, such as Compressed (zipped) folder, Desktop (create shortcut), Mail Recipient, are intact in the user's Send To folder. On some systems, the\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"send to menu shows only bluetooth device","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/w10-sendto-bluetooth-only.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/w10-sendto-bluetooth-only.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/w10-sendto-bluetooth-only.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1538,"url":"https:\/\/www.winhelponline.com\/blog\/restore-missing-compressed-zipped-folder-option-to-the-send-to-menu\/","url_meta":{"origin":9357,"position":4},"title":"Fix: &#8220;Compressed (zipped) Folder&#8221; Missing in Send To Menu","author":"Ramesh","date":"February 26, 2006","format":false,"excerpt":"This article tells you how to restore the missing \"Compressed (Zipped) Folder\" item to your \"Send to\" menu in all versions of Windows, including Windows 10 and 11. Cause If the Compressed (Zipped) folder doesn't appear in the Send To menu, it can be due to one of the reasons:\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"zip missing sendto menu","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2006\/02\/zip-sendto-fix-cmd.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2006\/02\/zip-sendto-fix-cmd.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2006\/02\/zip-sendto-fix-cmd.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":10509,"url":"https:\/\/www.winhelponline.com\/blog\/how-to-copy-folder-structure-without-copying-files\/","url_meta":{"origin":9357,"position":5},"title":"Copy Folder Structure without Copying Files in Windows","author":"Ramesh","date":"July 28, 2019","format":false,"excerpt":"There are situations where you want to copy a folder structure without copying the files in that folder and sub-folders. For instance, you may want to replicate the directory structure of your expenses or accounting folders in order to organize them year-wise. I have the following directory structure to store\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"directory list structure batch file powershell","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/07\/dir-list-to-bat-powershell-replicate.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/9357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=9357"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/9357\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=9357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=9357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=9357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}