
Int i = ((IFeedsEnum)folder.Feeds).Count įoreach (IFeedFolder subfolder in (IFeedsEnum)folder.

Private static int AggregateFeedCount(IFeedFolder folder) Files 2 Folder Description: A right-click shell extension that will automatically create a folder based on the selected filename and move that file into that folder. Return AggregateFeedCount((IFeedFolder)feedmgr.RootFolder) IFeedsManager feedmgr = new FeedsManagerClass() Note that the public entry point (which takes no arguments) passes the root folder to a private helper function of the same name.
#FILE2FOLDER SUBMENU HOW TO#
The following example, written in C#, also demonstrates how to recursively search the Subfolders collection to return the total number of feeds. It would help if you explained what files2folder is and does ) Its a software that makes a context menu. WScript.Echo "Total Feeds: " & CountFeeds(fm.RootFolder) Set fm = CreateObject("Microsoft.FeedsManager") Total = total + CountFeeds(f.Subfolders.Item(i-1)) Go back to Files2Folder.exe and right click Run as administrator to register the shell extension. Double click on F2Fremove.reg and allow it to merge with the registry.

' Recursively count the feeds in each subfolder Then go to File > Save As and Save as type: All Files (.) - File name: F2Fremove.reg. The following Microsoft Visual Basic Scripting Edition (VBScript) example for Windows Script Host (WSH) demonstrates how to recursively search the Subfolders collection to return the total number of feeds.

The object returned from this property can be cast to IFeedsEnum. Retrieves the collection of subfolders in this folder.
