Chetwood Posted March 5, 2008 Posted March 5, 2008 Am I missing something again? I want to browse to a folder which has 20 or so subdirs and select 4 or 5 of those. How do I do it? TIA! MultiMakeMKV: batch processing for MakeMKV (Win)MultiShrink: batch processing for DVD ShrinkOffizieller Übersetzer von DVD Shrink deutsch
MHz Posted March 5, 2008 Posted March 5, 2008 There is only what is documented in the help file. Nothing more and nothing less. You have the functions to achieve your goal. You can use FileFindFirstFile/FileFindNextFile to to get the subfolder names and search within them with the same functions. Or you could use COMs SubFolders method to get the subfolders and then use FileFindFirstFile/FileFindNextFile to search inside them. Another idea is to use ComSpec and the Dir command to get a list of subfolders etc. Here is a COM example for getting subfolders Global $cCollection, $oFSO, $oItem, $oFolderPath, $sTotal $oFSO = ObjCreate('Scripting.FileSystemObject') If Not @error Then $oFolderPath = $oFSO.GetFolder(@WorkingDir & '\') $cCollection = $oFolderPath.SubFolders For $oItem In $cCollection MsgBox(0, '', $oItem.Name) Next EndIfoÝ÷ Ù©Ýi@ÅrÜzZºÚ"µÍÈ]ÈHÛÈÛÛXÝ[ÛÛÛÚÝ[ÈÙ[ÛÈÛÛZ[Y[HÜXÚYYYÛÈ[ÛY[ÈÜÙHÚ]Y[[ÞÝ[H[H]X]ÈÙ]ÌÍÜÝXÛÈHÔÝXÛÊÛÜÚ[Ñ [È ÌÎNÉÌLÉÌÎNÊBYÝÜ[SÙÐÞ ÌÎNÐ[ÝXÛÉÌÎNË ÌÍÜÝXÛÊBIÌÍÜÜ]HÝ[ÔÜ] ÌÍÜÝXÛËÔJBRYÝÜ[BQÜ ÌÍÚHHHÈ ÌÍÜÜ]ÌBBBSÙÐÞ ÌÎNÑXXÚÝXÛÌÎNË ÌÍÜÜ]ÉÌÍÚWKJBBS^Q[Y[Y^][ÈÔÝXÛÊ ÌÍÜÑÛ] BSØØ[ ÌÍØÐÛÛXÝ[Û ÌÍÛÑÓË ÌÍÛÒ][K ÌÍÛÑÛ] ÌÍÜÕÝ[IÌÍÛÑÓÈHØÜX]J ÌÎNÔØÜ[Ë[TÞÝ[SØXÝ ÌÎNÊBRYÝÜ[BIÌÍÛÑÛ]H ÌÍÛÑÓËÙ]Û ÌÍÜÑÛ] BBIÌÍØÐÛÛXÝ[ÛH ÌÍÛÑÛ]ÝXÛÂBQÜ ÌÍÛÒ][H[ ÌÍØÐÛÛXÝ[ÛBBIÌÍÜÕÝ[ [ÏH ÌÍÛÒ][K[YH [ÈÔBS^BT]Ý[ÔÝÔÊ ÌÍÜÕÝ[ÊBQ[ÙBBT]Ù]ÜK ÌÎNÉÌÎNÊBQ[Y[[ Other examples would be around if you searched the forum. Look at any UDFs in the help file that may ease the effort.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now