Dir to list
Author: b | 2025-04-23
You give filecmp.dircmp() two directories, which it calls left and right. filecmp.dircmp.left_only is a list of the files and dirs that are only in the left dir. filecmp.dircmp.right_only is a list of the files and dirs that are only in the right dir. filecmp.dircmp.common_dirs is a list of the dirs that are in both. PowerShell. List Dirs and Files List Dirs. PowerShell: Navigate Directory; PowerShell: Show Current Dir Path; PowerShell: List Directories; Show Directory as Tree
Functions in function list – DIR
Again and again Bug-Fix: Q-Dir blank List View on Windows 10 / 8.1!! SORRY the W10 Creators Update is not so good for Q-Dir :( Changes for v6.67 - v6.67.1 F5 Bug-Fix: When refreshing (updarte) the file list, it goes blank, onWindows-10 from Creators update. Update of the language files in Q-Dir. Changes for v6.66 - v6.67 Bugfix: Auto Expand the folders in the navigation area under Windows-10 Update of the language files in Q-Dir. Changes for v6.62 - v6.66 Bugfix: Mark the objects in list view under Windows-10 and Server 2016 Update of the language files in Q-Dir. Changes for v6.61 - v6.62 1. Small corrections and rebuilding/recompiling Q-Dir because virus alert (Trojan:Win32/Spurp.A!LaLa) from Windows-Defender on Windows-10, although no virus was present. 2. Update of the language files in Q-Dir. Changes for v6.58 - v6.61 Small corrections and General revision plus updating of the language files in Q-Dir the Alternative File Manager for Windows Changes for v6.57 - v6.58 Small corrections and rebuilding/recompiling Q-Dir because virus alert (Trojan:Win32/KatuA!TuruLuLu) from Windows-Defender on Windows-10, although no virus was present. Update of the language files in Q-Dir. Changes for v6.56 - v6.57 Again corrections for Windows 10 creators update. Bugfix: Mark the objects in list view General revision and updating of the language files Changes for v6.51 - v6.56 Improvements because of Windows 10 creators update. Bugfix: Slowly opening of directories and the disappearance of the scroll bar in the list view General revision and updating of the language files Changes for v6.48.4 - v6.49.1 New option: main menu / tools / file operations / L-mouse: move file confirm, helps at slips on the touch screen. Changes for v6.46 - v6.48 Bugfix when using the arrow keys to rename the files and/or folders in the Q-Dir List View. Updating of the language files in Q-Dir. New in version 6.47 // December 28th 2016 BugFix when run /silent -install e.g. for administrators. New in version 6.46.1 // December 7th 2016 Corrections in List view and Quick Links for Windows 8.1 and 10. General revision and updating of the language files Changes for v6.39 - v6.42 And again improvements and small adjustments in the file manager Q-Dir for Windows 10. General revision and updating of the language files New in version 6.41 // November 2th 2016 General revision and update of the language files Optimization and various fixes Changes for v6.38 - v6.39 And again Improvements and fixes in Q-Dir for Windows 10 and Update of the language files in Q-Dir. Changes for v6.37 - v6.38 Bugfix: occasional crash under Windows 10 at some system configurations. Changes for v6.36 - v6.37 Bugfix in Q-Dir when execute or open files in the list view under Windows-10. Changes for v6.35 - v6.36 Small adjustments in Q-Dir for Windows 10 and Windows Server 2016 plus Update of the language files in Q-Dir. Changes for v6.34 - v6.35 Improvements and small adjustments in the file manager Q-Dir. Changes for v6.33 - v6.34 Improvements in Q-Dir for Windows 10
Snap2HTML - Create fancy dir listings
Tree view and Tab control! Changes for v6.04 - v6.05 Mouse Wheel support in Menus and updating of the language files! Changes for v6.03 - v6.04 Corrections of the language files, some adjustments plus improvements and updating of the language files! Changes for v6.02 - v6.03 Improvements in the list view and directory structure plus updating of the language files! Changes for v6.01 - v6.02 Improvements in Q-Dir for Windows 10 Technical-Preview. Update of the language files for Q-Dir. Changes for v6.00 - v6.01 Improvements in Q-Dir and corrections for Windows 10 Technical-Preview. Update of the language files for Q-Dir. Changes for v5.99.9 - v6.00 Verification and testing of Q-Dir on Windows 10 Technical-Preview. Update of the language files for Q-Dir. Changes for v5.99.7 - v5.99.9 Correction for Vista in the list view and the Classic Windows Theme!5.99.8Q-Dir in the notification area (To-Tray) via the F12 key, improvements for Windows 7 and update of the language files Changes for v5.99.6 - v5.99.7 Improvements for x64 Windows OS and update of the language files. Changes for v5.99.5 - v5.99.6 Improvements for Windows 8.1 and update of the language files. Changes for v5.99.4 - v5.99.5 Improvements for Windows Server 2012 and update of the language files. Changes for v5.99.3 - v5.99.4 Bug-Fix: Q-Dir crash reporting an error in comctl32 on Windows XP. Changes for v5.99.2 - v5.99.3 Corrections and improvements in the list view and update of the language files! Changes for v5.99.1 - v5.99.2 Bug-Fix in the list view autosort feature on Windows 7 and 8.1. Changes for v5.98.9 - v5.99.1 Bug Fix in Copy-Files Dialog and some adjustments and improvements in Q-Dir. Changes for v5.98.8 - v5.98.9 Improvements in Q-Dir fixis as updating the language files. Changes for v5.98.7 - v5.98.8 Corrections when rename the current folder in the list view, the new name of the folder will automatically open. Changes for v5.98.5 - v5.98.7 New Option: Disable auto sorting when renaming or copying elements. Info: By default, this option is selected in Menu, Tools, List view. To start the program in the notification area of the taskbar please use argument -bg. -bg must be used as the first argument. Changes for v5.98.4 - v5.98.5 Corrections in the Option: List-View, File type column und Erweiterungen and Show extensions and type. Changes for v5.98.2 - v5.98.4 Adjustments and improvements in the Q-Dir tool bars. Changes for v5.98.1 - v5.98.2 Corrections when copy the tab-s in Q-Dir explorer view. Changes for v5.98 - v5.98.1 Corrections in q-dir explorer view auto update or not auto update. Changes for v5.97.9 - v5.98 Corrections in the directory structure for Win 7 and 8.1 and update of the language files! Changes for v5.97.6 - v5.97.9 Improvements, corrections in the list view and update of the language files!Important bug fix in Q-Dir x64 and optimization! Update the language files in Q-Dir. Corrections in the address bar and toolbar for Windows 8.1 and small adjustments in the Edit menu. Changes for v5.97.5 - v5.97.6 Corrections in the listInveracity/dirlister: lists dirs - GitHub
View: In explorer auto update or not auto update. And when reordering (sort) after renaming and add files or folders! Changes for v5.97.3 - v5.97.5 New Settings: Via Menu, Tools, address bar: Optionally, the breadcrumb address bar, can be displayed without icons. Similarly, the autocomplete can be customized, files and folders, only folders plus Internet addresses (URLs). Changes for v5.97.1 - v5.97.3 Small improvements, corrections in the list view and update of the language files! Changes for v5.96.7 - v5.97 Buttons indentation in directory structure is customizable through menu, extras, Tree-View. Optionally, the system default navigational sound can be used via Menu, Tools, List-View. Changes for v5.96.6 - v5.96.7 Corrections in the list view for Windows 7 and 8/8.1! Changes for v5.96.5 - v5.96.6 Improvements in Q-Dir Update of the language files and small corrections plus optimisation. Changes for v5.96.2 - v5.96.5 And again corrections in the list view when using the background color, and optimisation in Q-Dir! Changes for v5.96.1 - v5.96.2 Corrections in the list view when using the background color! Changes for v5.95 - v5.96.1 Corrections in the directory structure! New in version 5.96Optional feature colored highlighting of the sort column via Menu, Extras, Listview can be also used with different background colors. Changes for v5.94 - v5.95 Small improvements and corrections in the directory structure and the tab-s on Windows 7 and Windows 8/8.1 Changes for v5.93 - v5.94 Small improvements and update of the language files! Changes for v5.91 - v5.93 Correction Windows 7 in the tree view, Ctrl + C / X / V and bug fixed at redrawing when there is no focus on the directory structure! Changes for v5.89 - v5.91 Adjustments and improvements in Q-Dir and update of the language files. Changes for v5.88 - v5.89 And again adjustments and improvements in the Treeview and Listview when not using default system fonts! Update of the language files in Q-Dir. Changes for v5.87 - v5.88 Adjustments and improvements in the tree-view, when customize the DPI values in the system display settings! Changes for v5.86 - v5.87 Disable / Enable of using the space bar for the scrolling feature (such as IE / Chrome) via Menu, Tools, List view. Optional for Windows 7/8/Vista Auto-Expand of the system favorites at program start. Changes for v5.85 - v5.86 And again, improvements and optimization for Windows 8.1 in Q-Dir and bug fix W8 Tree-View Changes for v5.84 - v5.85 Bug fix Windows 7 and 8.1: In the upward navigation, the output folder is not marked when use the color filter in Q-Dir. Further improvements and optimization for Windows 8.1 in Q-Dir. Changes for v5.83 - v5.84 Improvements, optimisation and some corrections for Windows 8.1 in Q-Dir and update of the language files. Admin Command Prompt via CTRL or SHIFT in menu File, Command Prompt. Changes for v5.82 - v5.83 Improvements in Q-Dir Update of the language files and small corrections plus optimisation. Changes for v5.81 - v5.82 Small improvements and update of the language files! Changes. You give filecmp.dircmp() two directories, which it calls left and right. filecmp.dircmp.left_only is a list of the files and dirs that are only in the left dir. filecmp.dircmp.right_only is a list of the files and dirs that are only in the right dir. filecmp.dircmp.common_dirs is a list of the dirs that are in both.DIR - Directory List - HTML Help
And Update of the language files in Q-Dir. Changes for v6.28 - v6.32 Small corrections and rebuilding/recompiling Q-Dir because virus alert (Trojan:Win32/Spallowz.A!plock) from Windows-Defender on Windows-10, although no virus was present. New in version 6.31 // March 15th 2016 New: Send by e-mail function to, for example send quickly multiple pictures to an email. Update of the language files in Q-Dir and minor improvements. New in version 6.29 // March 11th 2016 Bugfix: in /silent or /s parameter for silent install e.g. for administrators. And corrections in install and uninstall routine. Changes for v6.27 - v6.28 Bugfix: Incorrect error message when clicking on the my computer icon. Bugfix: Folder selection when navigating via the up folder button and in the history, the subfolder was not marked. Bugfix: when navigating via the address bar. Changes for v6.26 - v6.27 Bug-Fix: Refresh button for Windows XP and Server 2003 Changes for v6.24 - v6.26 New in Q-Dir, both address bars can be displayed. New: Refresh button, but can be disabled via Extras, Address Bar Update of the language files in Q-Dir. Changes for v6.23 - v6.24 Drag and Drop Bug-Fix for Windows-10 and Windows-Server 2016! Update of the language files in Q-Dir. Changes for v6.22 - v6.23 Small changes, improvements and fixes for x64 operating systems Update of the language files in Q-dir. Changes for v6.18 - v6.19 Bug-Fix in Q-Dir, on Windows 10 if opening the various file types (* .jpg, * .zip, etc) by a double click or ENTER hit. Changes for v6.17 - v6.18 Bug-Fix in the Q-Dir export feature! In the translation tool you can now select German or English as the base language. Update of the language files in Q-Dir. Changes for v6.16 - v6.17 Bugfix in the Q-Dir Portable version, while saving some settings in the Q-Dir.ini file! Changes for v6.15 - v6.16 Improvements and small adjustments in the file manager Q-Dir under Windows 10. Changes for v6.14 - v6.15 Small changes and improvements in file manager Q-Dir for Windows 10. Changes for v6.12 - v6.14 Full functionality of the file manager Q-Dir on Windows 10 tested with Build 10162. Small changes, improvements and fixes, plus bug - fix in the list view at Q-Dir startup. Changes for v6.11 - v6.12 Small changes, improvements and fixes, plus new language in Q-Dir: Estonian (Eesti) Thanks to Vahur Kull for the Estonian language. Changes for v6.10 - v6.11 Corrections for Win7, Win8.1, Win10 in the list view control! Optimisation in Q-Dir on Windows 10. Changes for v6.09 - v6.10 Performance Optimisation in Q-Dir on Windows 10. Update of the language files for Q-Dir. Changes for v6.08 - v6.09 improvements in Q-Dir for Windows 10 Technical-Preview. Update of the language files for Q-Dir Changes for v6.07 - v6.08 Fixes and improvements in Q-Dir performance. Changes for v6.06 - v6.07 Corrections in redrawing at resize, NVIDIA and ATI graphics cards with activated Desktop Manager in HydraVision Changes for v6.05 - v6.06 Corrections for Win7, Win8.1, Win10 in the list viewdir - Gets file list - Scilab
I wrote a macro a few weeks ago which created a list of files with hyperlinks to those files, but didn't traverse subfolders looking for those files. So it was limited to the folder you selected.This improved macro will : Ask you what your root (starting) folder is Ask you for the file type to look for, e.g. *.xls*, *.jp* Search through all folders below your root folder looking for files that match your criteria Create a hyperlinked list of those files, so clicking on the link will open the fileTo do this the macro uses the Dir function, the FileSystemObject (FSO) and recursion.UpdateThe code below lists the hyperlinked files in a 'tree' layout, such that each subdirectory is indented to give a clear visual indication of the folder/directory structure.I had a request to modify the original code to list all the files in a single column though, so here is that code : Hyperlinked File List in Single ColumnDir FunctionThe Dir function returns the name of a file or folder/directory that matches a specified pattern or file attribute.So if I am looking for Excel workbooks I would call Dir like thisMyFilename = Dir("d:\sales\*.xls*", 7)Where MyFilename is a string variable that holds the name of the first file that Dir finds.The * in *.xls* indicates 0 or more characters, so *.xls* matches file1.xls and file2.xlsx. You can also use the ? wildcard to match a single character.The beauty of Dir is that the first time you call it, it returnsWindows CLI list requirement: dir /n/s list, but one line per file dir
Starting port number. Dest.Port.End - Enter the ending port number. To enable web logging, click Enable. Click Save to save the access control rule. D-Link DIR-615 User Manual... Page 43: Website Filters Select Deny or Allow computers access to only these Below: sites. Click to delete all entries in the list. Clear the list below: Website URL/Domain: Enter the keywords or URLs that you want to allow or deny. D-Link DIR-615 User Manual... Page 44: Inbound Filters Inbound Filter Rules This section will list any rules that are created. You may click List: the Edit icon to change the settings or enable/disable the rule, or click the Delete icon to remove the rule. D-Link DIR-615 User Manual... Page 45: Firewall Settings Firewall Settings A firewall protects your network from the outside world. The D-Link DIR-615 offers a firewall type functionality. The SPI feature helps prevent cyber attacks. Sometimes you may want a computer exposed to the outside world for certain types of applications. If you choose to expose a computer, you can enable DMZ. Page 46: Routing Destination IP: Enter the address of the host or network you wish to access. Netmask: This field identifies the portion of the destination IP in use. Gateway: The IP address of the router will be displayed here. D-Link DIR-615 User Manual... Page 47: Advanced Wireless Settings WMM is QoS for your wireless network. This will improve the quality of video and voice applications for your wireless clients. Short GI: Check this box to. You give filecmp.dircmp() two directories, which it calls left and right. filecmp.dircmp.left_only is a list of the files and dirs that are only in the left dir. filecmp.dircmp.right_only is a list of the files and dirs that are only in the right dir. filecmp.dircmp.common_dirs is a list of the dirs that are in both. PowerShell. List Dirs and Files List Dirs. PowerShell: Navigate Directory; PowerShell: Show Current Dir Path; PowerShell: List Directories; Show Directory as TreeComments
Again and again Bug-Fix: Q-Dir blank List View on Windows 10 / 8.1!! SORRY the W10 Creators Update is not so good for Q-Dir :( Changes for v6.67 - v6.67.1 F5 Bug-Fix: When refreshing (updarte) the file list, it goes blank, onWindows-10 from Creators update. Update of the language files in Q-Dir. Changes for v6.66 - v6.67 Bugfix: Auto Expand the folders in the navigation area under Windows-10 Update of the language files in Q-Dir. Changes for v6.62 - v6.66 Bugfix: Mark the objects in list view under Windows-10 and Server 2016 Update of the language files in Q-Dir. Changes for v6.61 - v6.62 1. Small corrections and rebuilding/recompiling Q-Dir because virus alert (Trojan:Win32/Spurp.A!LaLa) from Windows-Defender on Windows-10, although no virus was present. 2. Update of the language files in Q-Dir. Changes for v6.58 - v6.61 Small corrections and General revision plus updating of the language files in Q-Dir the Alternative File Manager for Windows Changes for v6.57 - v6.58 Small corrections and rebuilding/recompiling Q-Dir because virus alert (Trojan:Win32/KatuA!TuruLuLu) from Windows-Defender on Windows-10, although no virus was present. Update of the language files in Q-Dir. Changes for v6.56 - v6.57 Again corrections for Windows 10 creators update. Bugfix: Mark the objects in list view General revision and updating of the language files Changes for v6.51 - v6.56 Improvements because of Windows 10 creators update. Bugfix: Slowly opening of directories and the disappearance of the scroll bar in the list view General revision and updating of the language files Changes for v6.48.4 - v6.49.1 New option: main menu / tools / file operations / L-mouse: move file confirm, helps at slips on the touch screen. Changes for v6.46 - v6.48 Bugfix when using the arrow keys to rename the files and/or folders in the Q-Dir List View. Updating of the language files in Q-Dir. New in version 6.47 // December 28th 2016 BugFix when run /silent -install e.g. for administrators. New in version 6.46.1 // December 7th 2016 Corrections in List view and Quick Links for Windows 8.1 and 10. General revision and updating of the language files Changes for v6.39 - v6.42 And again improvements and small adjustments in the file manager Q-Dir for Windows 10. General revision and updating of the language files New in version 6.41 // November 2th 2016 General revision and update of the language files Optimization and various fixes Changes for v6.38 - v6.39 And again Improvements and fixes in Q-Dir for Windows 10 and Update of the language files in Q-Dir. Changes for v6.37 - v6.38 Bugfix: occasional crash under Windows 10 at some system configurations. Changes for v6.36 - v6.37 Bugfix in Q-Dir when execute or open files in the list view under Windows-10. Changes for v6.35 - v6.36 Small adjustments in Q-Dir for Windows 10 and Windows Server 2016 plus Update of the language files in Q-Dir. Changes for v6.34 - v6.35 Improvements and small adjustments in the file manager Q-Dir. Changes for v6.33 - v6.34 Improvements in Q-Dir for Windows 10
2025-03-31Tree view and Tab control! Changes for v6.04 - v6.05 Mouse Wheel support in Menus and updating of the language files! Changes for v6.03 - v6.04 Corrections of the language files, some adjustments plus improvements and updating of the language files! Changes for v6.02 - v6.03 Improvements in the list view and directory structure plus updating of the language files! Changes for v6.01 - v6.02 Improvements in Q-Dir for Windows 10 Technical-Preview. Update of the language files for Q-Dir. Changes for v6.00 - v6.01 Improvements in Q-Dir and corrections for Windows 10 Technical-Preview. Update of the language files for Q-Dir. Changes for v5.99.9 - v6.00 Verification and testing of Q-Dir on Windows 10 Technical-Preview. Update of the language files for Q-Dir. Changes for v5.99.7 - v5.99.9 Correction for Vista in the list view and the Classic Windows Theme!5.99.8Q-Dir in the notification area (To-Tray) via the F12 key, improvements for Windows 7 and update of the language files Changes for v5.99.6 - v5.99.7 Improvements for x64 Windows OS and update of the language files. Changes for v5.99.5 - v5.99.6 Improvements for Windows 8.1 and update of the language files. Changes for v5.99.4 - v5.99.5 Improvements for Windows Server 2012 and update of the language files. Changes for v5.99.3 - v5.99.4 Bug-Fix: Q-Dir crash reporting an error in comctl32 on Windows XP. Changes for v5.99.2 - v5.99.3 Corrections and improvements in the list view and update of the language files! Changes for v5.99.1 - v5.99.2 Bug-Fix in the list view autosort feature on Windows 7 and 8.1. Changes for v5.98.9 - v5.99.1 Bug Fix in Copy-Files Dialog and some adjustments and improvements in Q-Dir. Changes for v5.98.8 - v5.98.9 Improvements in Q-Dir fixis as updating the language files. Changes for v5.98.7 - v5.98.8 Corrections when rename the current folder in the list view, the new name of the folder will automatically open. Changes for v5.98.5 - v5.98.7 New Option: Disable auto sorting when renaming or copying elements. Info: By default, this option is selected in Menu, Tools, List view. To start the program in the notification area of the taskbar please use argument -bg. -bg must be used as the first argument. Changes for v5.98.4 - v5.98.5 Corrections in the Option: List-View, File type column und Erweiterungen and Show extensions and type. Changes for v5.98.2 - v5.98.4 Adjustments and improvements in the Q-Dir tool bars. Changes for v5.98.1 - v5.98.2 Corrections when copy the tab-s in Q-Dir explorer view. Changes for v5.98 - v5.98.1 Corrections in q-dir explorer view auto update or not auto update. Changes for v5.97.9 - v5.98 Corrections in the directory structure for Win 7 and 8.1 and update of the language files! Changes for v5.97.6 - v5.97.9 Improvements, corrections in the list view and update of the language files!Important bug fix in Q-Dir x64 and optimization! Update the language files in Q-Dir. Corrections in the address bar and toolbar for Windows 8.1 and small adjustments in the Edit menu. Changes for v5.97.5 - v5.97.6 Corrections in the list
2025-04-21And Update of the language files in Q-Dir. Changes for v6.28 - v6.32 Small corrections and rebuilding/recompiling Q-Dir because virus alert (Trojan:Win32/Spallowz.A!plock) from Windows-Defender on Windows-10, although no virus was present. New in version 6.31 // March 15th 2016 New: Send by e-mail function to, for example send quickly multiple pictures to an email. Update of the language files in Q-Dir and minor improvements. New in version 6.29 // March 11th 2016 Bugfix: in /silent or /s parameter for silent install e.g. for administrators. And corrections in install and uninstall routine. Changes for v6.27 - v6.28 Bugfix: Incorrect error message when clicking on the my computer icon. Bugfix: Folder selection when navigating via the up folder button and in the history, the subfolder was not marked. Bugfix: when navigating via the address bar. Changes for v6.26 - v6.27 Bug-Fix: Refresh button for Windows XP and Server 2003 Changes for v6.24 - v6.26 New in Q-Dir, both address bars can be displayed. New: Refresh button, but can be disabled via Extras, Address Bar Update of the language files in Q-Dir. Changes for v6.23 - v6.24 Drag and Drop Bug-Fix for Windows-10 and Windows-Server 2016! Update of the language files in Q-Dir. Changes for v6.22 - v6.23 Small changes, improvements and fixes for x64 operating systems Update of the language files in Q-dir. Changes for v6.18 - v6.19 Bug-Fix in Q-Dir, on Windows 10 if opening the various file types (* .jpg, * .zip, etc) by a double click or ENTER hit. Changes for v6.17 - v6.18 Bug-Fix in the Q-Dir export feature! In the translation tool you can now select German or English as the base language. Update of the language files in Q-Dir. Changes for v6.16 - v6.17 Bugfix in the Q-Dir Portable version, while saving some settings in the Q-Dir.ini file! Changes for v6.15 - v6.16 Improvements and small adjustments in the file manager Q-Dir under Windows 10. Changes for v6.14 - v6.15 Small changes and improvements in file manager Q-Dir for Windows 10. Changes for v6.12 - v6.14 Full functionality of the file manager Q-Dir on Windows 10 tested with Build 10162. Small changes, improvements and fixes, plus bug - fix in the list view at Q-Dir startup. Changes for v6.11 - v6.12 Small changes, improvements and fixes, plus new language in Q-Dir: Estonian (Eesti) Thanks to Vahur Kull for the Estonian language. Changes for v6.10 - v6.11 Corrections for Win7, Win8.1, Win10 in the list view control! Optimisation in Q-Dir on Windows 10. Changes for v6.09 - v6.10 Performance Optimisation in Q-Dir on Windows 10. Update of the language files for Q-Dir. Changes for v6.08 - v6.09 improvements in Q-Dir for Windows 10 Technical-Preview. Update of the language files for Q-Dir Changes for v6.07 - v6.08 Fixes and improvements in Q-Dir performance. Changes for v6.06 - v6.07 Corrections in redrawing at resize, NVIDIA and ATI graphics cards with activated Desktop Manager in HydraVision Changes for v6.05 - v6.06 Corrections for Win7, Win8.1, Win10 in the list view
2025-04-06I wrote a macro a few weeks ago which created a list of files with hyperlinks to those files, but didn't traverse subfolders looking for those files. So it was limited to the folder you selected.This improved macro will : Ask you what your root (starting) folder is Ask you for the file type to look for, e.g. *.xls*, *.jp* Search through all folders below your root folder looking for files that match your criteria Create a hyperlinked list of those files, so clicking on the link will open the fileTo do this the macro uses the Dir function, the FileSystemObject (FSO) and recursion.UpdateThe code below lists the hyperlinked files in a 'tree' layout, such that each subdirectory is indented to give a clear visual indication of the folder/directory structure.I had a request to modify the original code to list all the files in a single column though, so here is that code : Hyperlinked File List in Single ColumnDir FunctionThe Dir function returns the name of a file or folder/directory that matches a specified pattern or file attribute.So if I am looking for Excel workbooks I would call Dir like thisMyFilename = Dir("d:\sales\*.xls*", 7)Where MyFilename is a string variable that holds the name of the first file that Dir finds.The * in *.xls* indicates 0 or more characters, so *.xls* matches file1.xls and file2.xlsx. You can also use the ? wildcard to match a single character.The beauty of Dir is that the first time you call it, it returns
2025-04-03HTTP client based on libcurl-7.62.0List of 4D Internet Commands and replacementsFTP_Append : n/a (use APPEND option)FTP_ChangeDir : n/a (sessions are not kept open)FTP_Delete : cURL_FTP_DeleteFTP_GetDirList : cURL_FTP_GetDirListFTP_GetFileInfo : cURL_FTP_GetFileInfoFTP_GetPassive : n/a (use FTPPORT option)FTP_GetType : n/a (always binary transfer)FTP_Login : n/a (sessions are not kept open)FTP_Logout : n/a (sessions are not kept open)FTP_MacBinary : n/a (deprecated)FTP_MakeDir : cURL_FTP_MakeDirFTP_PrintDir : cURL_FTP_PrintDirFTP_Receive : cURL_FTP_ReceiveFTP_RemoveDir : cURL_FTP_RemoveDirFTP_Rename : cURL_FTP_RenameFTP_Send : cURL_FTP_SendFTP_SetPassive : n/a (use FTPPORT option)FTP_SetType : n/a (always binary transfer)FTP_System: cURL_FTP_SystemFTP_VerifyID : n/a (sessions are not kept open)FTP_Progress : n/a (use PRIVATE option)Points of interestMissing directories can be created with _MakeDir and _Send_Receive supports wildcardsreduced CPU consumptioncallback method to monitor progress or abort if necessaryalthough the API is optimsied for FTP, _Send and _Receive actually work with other protocols such as HTTP or TFTP.Encoding supportFor servers that do not support OPTS UTF8 ON the plugin can convert non-unicode text. Any iconv charset can be specified.C_OBJECT($options)$URL:="ftp://ftp.server.com/"OB SET($options;"URL";$URL;"ENCODING_OUT";"cp932";"USERNAME";"user";"PASSWORD";"pass")C_TEXT($list)$error:=cURL_FTP_PrintDir (JSON Stringify($options);$list)Commands that support ENCODING_IN (outgoing text)cURL_FTP_DeletecURL_FTP_MakeDircURL_FTP_RemoveDircURL_FTP_RenameCommands that support ENCODING_OUT (incoming text)cURL_FTP_SystemcURL_FTP_PrintDircURL_FTP_GetDirListNote on FTPSset the protocol to ftps:// if you want to use implicit FTPSset the protocol to ftp:// and add the option USE_SSL if you want to use explicit FTPSuse the option CAINFO for server ceritificate verificationto skip verification, set SSL_VERIFYPEER to 0see also forums.4d.com for dicussion on SFTP.Syntaxerror:=cURL_FTP_Delete(options{;callbackMethod})ParameterTypeDescriptionoptionsTEXTJSONcallbackMethodTEXToptionalerrorLONGINTError codecalls DELE or rm (sftp:)C_OBJECT($options)OB SET($options;"URL";"ftp://ftp.example.com/a/b/sample.txt";"USERNAME";"user";"PASSWORD";"pass")$error:=cURL_FTP_Delete (JSON Stringify($options))error:=cURL_FTP_GetDirList(options;list{;callbackMethod})ParameterTypeDescriptionoptionsTEXTJSONlistTEXTcallbackMethodTEXToptionalerrorLONGINTError codecalls LIST via CURLOPT_CUSTOMREQUESTthe url must end with a delimiter (/)C_OBJECT($options)OB SET($options;"URL";"ftp://ftp.4d.com/SAMPLE_DATABASES/4D/4D_v13/demo_dbs/")$error:=cURL_FTP_GetDirList (JSON Stringify($options);$list)-r--r--r-- 1 ftp ftp 2845148 Jul 17 2015 4DHierarchicalLists.zip-r--r--r-- 1 ftp ftp 72547498 Jul 17 2015 4DIndexes.zip-r--r--r-- 1 ftp ftp 5575780 Jul 17 2015 4DListboxes.zip-r--r--r-- 1 ftp ftp 4269584 Jul 17 2015 4DObjects.zip-r--r--r-- 1 ftp ftp 98552632 Jul 17 2015 4DPictures.zip-r--r--r-- 1 ftp ftp 8482751 Jul 17 2015 4DSQL.zip-r--r--r-- 1 ftp ftp 5429818 Jul 17 2015 4DStaticWebBuilder.zipexample of splitting elements$error:=cURL_FTP_GetDirList (JSON Stringify($options);$dir)If ($error=0) ARRAY LONGINT($pos;0) ARRAY LONGINT($len;0) $i:=1 While (Match regex("(?m)^(\\S+)\\s+(\\d+)\\s+(\\S+)\\s+(\\S+)\\s+(\\d+)\\s+([:L:]{3}\\s+\\d+)\\s+(\\d+:\\d+)\\s+(.+)$";$dir;$i;$pos;$len)) $f1:=Substring($dir;$pos{1};$len{1}) $f2:=Num(Substring($dir;$pos{2};$len{2})) $f3:=Substring($dir;$pos{3};$len{3}) $f4:=Substring($dir;$pos{4};$len{4}) $f5:=Num(Substring($dir;$pos{5};$len{5})) $f6:=Substring($dir;$pos{6};$len{6}) $f7:=Time(Substring($dir;$pos{7};$len{7})) $f8:=Substring($dir;$pos{8};$len{8}) $i:=$pos{Size of array($pos)}+$len{Size of array($len)} End while End iferror:=cURL_FTP_GetFileInfo(options;info{;callbackMethod})ParameterTypeDescriptionoptionsTEXTJSONinfoTEXTcallbackMethodTEXToptionalerrorLONGINTError codeuses curl_easy_getinfo with CURLOPT_FILETIME and CURLINFO_FILETIMEC_OBJECT($options)OB SET($options;"URL";"ftp://test.rebex.net/readme.txt";"USERNAME";"demo";"PASSWORD";"password")$error:=cURL_FTP_GetFileInfo (JSON Stringify($options);$info){"size":"403","date":"2014-04-08T14:09:39Z"}error:=cURL_FTP_MakeDir(options{;createMissingDir{;callbackMethod}})ParameterTypeDescriptionoptionsTEXTJSONcreateMissingDirLONGINTcallbackMethodTEXToptionalerrorLONGINTError codecalls MKD or mkdir (sftp:)CURLOPT_FTP_CREATE_MISSING_DIRS is CURLFTP_CREATE_DIR_RETRY if createMissingDir is 1C_OBJECT($options)OB SET($options;"URL";"ftp://ftp.example.com/a/b/c";"USERNAME";"user";"PASSWORD";"pass")$createMissingDir:=1$error:=cURL_FTP_MakeDir (JSON Stringify($options);$createMissingDir)error:=cURL_FTP_PrintDir(options;dir{;callbackMethod})ParameterTypeDescriptionoptionsTEXTJSONdirTEXTcallbackMethodTEXToptionalerrorLONGINTError codecalls NLST via CURLOPT_DIRLISTONLYthe
2025-03-30Changes for v5.57 - v5.58 Adjustments and optimization for the Windows 8 and Windows-7. Update of the language files in Q-Dir. Changes for v5.56 - v5.57 Optimisation, corrections, and improvements in the list view (no-subfolders, up folder select, ...) plus language files updating. Changes for v5.55 - v5.56 Bug-Fix Win-7 and Win-8 x64/x32:Is there some setting in ListView, it came to bad behavior. This happens since Q-Dir 5.53 and now corrected. Changes for v5.54 - v5.55 # Folder size, file number, folder number, file extension is correctly displayed in the Detailed List View in the right column. # Fixed: crash of Q-Dir under Win98. # Some optimizations and fixes in the menu Extras Changes for v5.52 - v5.53 Optimization, corrections, and improvements in the list view plus language files updating. Changes for v5.51 - v5.52 Small adjustments and improvements for Windows 7/8/Vista and Server 2008/2012 plus update of the languages files in Q-Dir Changes for v5.50 - v5.51 Bug-Fix Windows Server (2008,2012) operating systems. Changes for v5.49 - v5.50 Corrections in Q-Dir for Win-8 x64 and language files update. Changes for v5.48 - v5.49 Fixes in the Address-Bar combobox-treeview and listview Changes for v5.47 - v5.48 Small adjustments and improvements plus update of the languages files in Q-Dir. Changes for v5.46 - v5.47 Small changes, improvements and fixes at x86/x32 operating systems New language in Q-Dir: Ukrainian Changes for v5.45 - v5.46 Improvements in Q-Dir and fixes plus updating the language files. Changes for v5.42 - v5.44 Adaptation and testing for Windows-8 on Windows 8 Enterprise.Update of the language files in Q-Dir. Changes for v5.41 - v5.42 Bug fix in the printing function at Windows XP, Windows seven and eight fixed.Optimization and small adjustments for x64 operating systems Windows XP, Vista, Seven, Windows 8 .... and language files updated. Changes for v5.39 - v5.41 Additional verification and testing on Windows 8 Enterprise plus update of the languages files in Q-Dir.New parameters for the Application Launcher: %sel_files1% , %sel_files2%, ... and %all_files1%, %all_files2%,.... Changes for v5.38 - v5.39 Some improvements for Win-8 and updating of the language files in Q-Dir. Changes for v5.37 - v5.38 improvements for OS x64 Changes for v5.36 - v5.37 Bugfix when using the arrow keys to rename the files and/or folders.Updating the language files in Q-Dir. Changes for v5.35 - v5.36 Advanced verification and testing on Windows 8 Enterprise.Update of the language files in Q-Dir. Changes for v5.34 - v5.35 Corrections in the color filter and update language files. Changes for v5.33 - v5.34 Some improvements for x64 OS and language files update. Changes for v5.31 - v5.33 New Language in Q-Dir: HungarianFor problems with the new directory structure at Vista/W7/2008 please disable this via the menu, extras, directory structure (tree-view).
2025-04-22