Folder List built with a script
Folder List built with a script
It would be great to have an Dynamic Folderlist, which will be produced eg. by a powershell script.
I have seen some form of feature like this in Royal TS where a serverlist is produced eg. by a powershell script.
Defintion would be something like, the script has to return a JSON formatted list with maybe 2 elements:
- Name that should be shown
- Path
This could be integrated into the Favorites Tree or as a seperate feature.
Usecases:
- Query specific AD OU and create foldernames to the service inside the OU (eg. fileservers).
- Query a network share for a specific string and include the output in a list.
- search a full tree for specific folders and include them
- .....
I have seen some form of feature like this in Royal TS where a serverlist is produced eg. by a powershell script.
Defintion would be something like, the script has to return a JSON formatted list with maybe 2 elements:
- Name that should be shown
- Path
This could be integrated into the Favorites Tree or as a seperate feature.
Usecases:
- Query specific AD OU and create foldernames to the service inside the OU (eg. fileservers).
- Query a network share for a specific string and include the output in a list.
- search a full tree for specific folders and include them
- .....
Using FC under: Win10 German (2004+), Server 2016, Server 2019 + Onedrive
Re: Folder List built with a script
FC has the File Container function.
You can generate a file list and show them in FC, like I do for Everything search results.
You can generate a file list and show them in FC, like I do for Everything search results.
Code: Select all
chcp 65001
set file=C:\Tools\FreeCommander\Settings\FileContainers\Everything.fcc
echo #FreeCommander file cart>"%file%"
C:\Tools\Everything\es.exe %* >>"%file%"
C:\Tools\FreeCommander\FreeCommander.exe /c "%file%"
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Re: Folder List built with a script
I agree, file containers are very useful, it's possible to copy any files and folders there also within the program.
More here:
https://freecommander.com/fchelpxe/en/F ... ainer.html
More here:
https://freecommander.com/fchelpxe/en/F ... ainer.html
Re: Folder List built with a script
Is there any documentation about the .fcc File format?
I made one of the FCC and Folder lines start with *F*C:\.....
What is the difference, when this is set in front of the path?
If I remove it, it will still be a folder and I do not see any difference in behaviour?
For automatic production of this file, it should be in the right format.
I made one of the FCC and Folder lines start with *F*C:\.....
What is the difference, when this is set in front of the path?
If I remove it, it will still be a folder and I do not see any difference in behaviour?
For automatic production of this file, it should be in the right format.
Using FC under: Win10 German (2004+), Server 2016, Server 2019 + Onedrive
Re: Folder List built with a script
The *.fcc file start with line:
Files or folders are displayed in further lines.
For the files full path of the file is necessary:
For the folders Full path of the folder with the prefix "*F*":
Code: Select all
#FreeCommander file cart
For the files full path of the file is necessary:
Code: Select all
D:\Temp\dbTest.sql
Code: Select all
*F*D:\Temp\wordpress
Re: Folder List built with a script
Hi,
Just found out, that the feature is only working with local folders?
What I wanted to do is:
Automatically add a list of fileserver with its shares:
eg:
\\server1\share1
\\server2\share2
And bascally the source could be anything like AD-OU with fileservers etc.
Additionally file containers are nice, but you cannot give them names. so if you have two picture folders (eg. your own one in the profile and the public one) you have two entries with the same name.
Just found out, that the feature is only working with local folders?
What I wanted to do is:
Automatically add a list of fileserver with its shares:
eg:
\\server1\share1
\\server2\share2
And bascally the source could be anything like AD-OU with fileservers etc.
Additionally file containers are nice, but you cannot give them names. so if you have two picture folders (eg. your own one in the profile and the public one) you have two entries with the same name.
Using FC under: Win10 German (2004+), Server 2016, Server 2019 + Onedrive
Re: Folder List built with a script
That's wrong, you can have as many file containers as you want.
Each has its own name, of course.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Re: Folder List built with a script
I meant two folders in the SAME container.
I know that I can have thousands of file containers.
I know that I can have thousands of file containers.
Using FC under: Win10 German (2004+), Server 2016, Server 2019 + Onedrive
Re: Folder List built with a script
For me, all entries in a file container are full paths, as created by my script.
So there can never be a duplicate.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Re: Folder List built with a script
If you have two full pathes:
c:\users\mayusername\pictures
C:\Users\Public\Pictures
Doesnt it look like this for you?
c:\users\mayusername\pictures
C:\Users\Public\Pictures
Doesnt it look like this for you?
Using FC under: Win10 German (2004+), Server 2016, Server 2019 + Onedrive
Re: Folder List built with a script
You make the error to not showing the path in your FC display.
I use the Search columns profile for the container view.
That's the result shown for searching all folders with the name pictures. The path is displayed, so it's clear what every name means.
The file container content is
I use the Search columns profile for the container view.
That's the result shown for searching all folders with the name pictures. The path is displayed, so it's clear what every name means.
The file container content is
Code: Select all
#FreeCommander file cart
C:\Program Files\Logitech\SetPointP\BTWizard\Pictures
C:\Users\Admin\Pictures
C:\Users\Default\Pictures
C:\Users\horst\Pictures
C:\Users\horst\AppData\Roaming\MyPhoneExplorer\samsung SM-G991B [99DA8397-7528-477B-A944-7A0709561D47]\ThumbnailCache\sdcard\Pictures
C:\Users\Monika\Pictures
C:\Users\Public\Pictures
C:\Windows\ServiceProfiles\LocalService\Pictures
C:\Windows\ServiceProfiles\NetworkService\Pictures
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Everything Version 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
FreeCommander XE 2024 Build 906 64-bit donor
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests