DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: contextmenu addon feature (alike LevelZap)  (Read 37,535 times)

Pbx01

  • Participant
  • Joined in 2018
  • *
  • Posts: 1
contextmenu addon feature (alike LevelZap)
« on: November 06, 2018, 04:31 PM »
Goodevening  :)

I am using LevelZap (contextmenu addon) and it works fine. Sadly it does work on 1 folder at a time,not able to recursively on all subfolders.
https://archive.codeplex.com/?p=levelzap

Example: I have several font files sorted 1 or more font files in 1 matching dir. All are sorted by (sub) categories and sorted by (sub) alfabet. All have different names. I need to get all files from all subfolders into the main folder.
D:\Fonts\misc\categories\alfabet\    > D:\Fonts\

There are many small programs/coding snacks on this site so maybe there has been something already that could do the job but I couldn't find it. Otherwise I could use some help.  ;)

/cheers



edit: Just after I made this post I got a suggestion from a friend: Use Total Commander > search > search for TTF ; when found > feed to listbox > select all > move to 'dir'
My humble request for a coding snack for this can be ignored.

Nice site you have :Thmbsup: ,will stay around and try to learn something and maybe I have another question later.
best regards

Ron
« Last Edit: November 06, 2018, 04:50 PM by Pbx01 »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: contextmenu addon feature (alike LevelZap)
« Reply #1 on: January 16, 2019, 11:04 PM »
Welcome Ron.

I use https://www.lopesoft.com/index.php/en/download/filemenu-tools

Some times in the past this program came with adaware , but I am using for years since xp.
Perhaps the spanish option "empaquetar a carpeta" is what you are looking for.
= pack to folder
Best Regards

justW3

  • What you think I said is probably not what I meant
  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 19
Re: contextmenu addon feature (alike LevelZap)
« Reply #2 on: March 07, 2019, 05:11 PM »
Goodevening  :)

I am using LevelZap (contextmenu addon) and it works fine. Sadly it does work on 1 folder at a time,not able to recursively on all subfolders.

etc ...

Ron

I was going to request a program which does exactly what is described here - ie move the contents of a folder to the next higher level folder, and then delete the now empty folder they were previous in - but unfortunately LevelZap seems to have been abandoned several years ago, and does not have an exe file any more on the site suggested above (that I can find). All googled links for LevelZap ultimately lead back to that one site. And whilst there is a "download archive" link there, that zip file contains sourceCode and other such mysterious files, which are complete gobbledygook to me! So, my question is, is there any chance of getting a similar sort of program created? Alternatively, how do I get those LevelZap code files to work as a program within Windows 10 (64-bit)?
Thanks.  :-[
« Last Edit: February 20, 2023, 01:59 AM by Deozaan »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: contextmenu addon feature (alike LevelZap)
« Reply #3 on: March 07, 2019, 06:21 PM »
Still slammed at work (up until 4 AM last night :( ) but I've downloaded it and will put it in my queue to evaluate if no one gets to it first.  :Thmbsup:

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: contextmenu addon feature (alike LevelZap)
« Reply #4 on: March 08, 2019, 01:55 PM »
edit: Just after I made this post I got a suggestion from a friend: Use Total Commander
My humble request for a coding snack for this can be ignored.

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
Re: contextmenu addon feature (alike LevelZap)
« Reply #5 on: March 08, 2019, 02:07 PM »
Quote
Total Commander > search > search for TTF ; when found > feed to listbox > select all > move to 'dir'
What an effort...

XYplorer: Right click the folder, from the context menu: "Flatten folder", done...

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: contextmenu addon feature (alike LevelZap)
« Reply #6 on: March 09, 2019, 01:02 AM »
I have done some more modifications to suit my purpose, which was to rename the files to include the folder path it had.
i.e.
Quote
root
a
  1
b
  1
  2
would become
Quote
root
a-1
b-1
b-2

here's the code for it
FlattenWithFolderNames.ahk
Code
fileselectfolder,MyFold,::{20d04fe0-3aea-1069-a2d8-08002b30309d}
SetWorkingDir, %MyFold%
loop, *.*,0,1
{
	parentpath := RegExReplace(A_LoopFileDir,"\\","-")
	;StringReplace, parentpath, A_LoopFileDir, \,-,All
	newname = %parentpath%-%A_LoopFileName%
	;msgbox %newname%
	If a_loopfiledir <>
		filemove, %a_loopfilefullpath%,%newname%
}

loop, %myfold%\*.*,2,1
	fileremovedir, %a_loopfilefullpath%,1
		
exitapp

Compiled from AHK:

« Last Edit: March 10, 2019, 11:37 PM by Curt »

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: contextmenu addon feature (alike LevelZap)
« Reply #7 on: March 12, 2019, 04:54 PM »
Where the OP has (my emphasis):
...Example: I have several font files sorted 1 or more font files in 1 matching dir. All are sorted by (sub) categories and sorted by (sub) alfabet. All have different names. I need to get all files from all subfolders into the main folder.
D:\Fonts\misc\categories\alfabet\    > D:\Fonts\  ...
I could be wrong, of course, but I'm having difficulty seeing a driving need for this obsolete Windows File Explorer single-function add-on to continue, given that it has been superseded by the ability to flatten folders to one's heart's desire in modern Windows File Explorer alternatives - e,g. xplorer² (which I have used for ages), or XYplorer (as @highend01 suggests) - i.e., the problem has kinda "gone away".
I suppose the presumption here is based on my experience that, for years, probably no-one needing more complex file management would necessarily be able to rely on using Windows File Explorer for it anyway.  :(

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: contextmenu addon feature (alike LevelZap)
« Reply #8 on: September 27, 2020, 08:59 AM »
Flatten Folder Menu v0.1.1

Adds "Flatten" context menu to folders in Windows Explorer.
Tom

justW3

  • What you think I said is probably not what I meant
  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 19
Re: contextmenu addon feature (alike LevelZap)
« Reply #9 on: January 05, 2022, 12:17 PM »
Flatten Folder Menu v0.1.1

Adds "Flatten" context menu to folders in Windows Explorer.
Thank you so much for pointing me to 'Flatten Folder Menu'.
https://www.donationcoder.com/forum/index.php?topic=50503.msg441129#msg441129
It does exactly what I have needed all this time (without the convoluted faff and clunkiness of some of the alternatives  :P). 
much appreciated  :Thmbsup:

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 563
Re: contextmenu addon feature (alike LevelZap)
« Reply #10 on: February 17, 2023, 05:48 AM »
Really useful program.  A must-have.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: contextmenu addon feature (alike LevelZap)
« Reply #11 on: February 17, 2023, 04:07 PM »
Thank you so much for pointing me to 'Flatten Folder Menu'.
https://www.donationcoder.com/forum/index.php?topic=50503.msg441129#msg441129
It does exactly what I have needed all this time (without the convoluted faff and clunkiness of some of the alternatives  :P). 
much appreciated  :Thmbsup:

:-*

Really useful program.  A must-have.

Thanks for the kind words dear friends. It's very motivating! :)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: contextmenu addon feature (alike LevelZap)
« Reply #12 on: March 24, 2023, 11:26 PM »
Goodevening  :)
I am using LevelZap (contextmenu addon) and it works fine. Sadly it does work on 1 folder at a time,not able to recursively on all subfolders.
etc ...
Ron
(...) LevelZap seems to have been abandoned several years ago, and (...)

LevelZap 1.0.2: https://archive.org/details/level-zap-1.0.2 is working just fine

LevelZap1.0.2.exe (614.0 KB) Size: 628745 byte (614 KiB) CRC64: E493B59987014801

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: contextmenu addon feature (alike LevelZap)
« Reply #13 on: March 26, 2023, 03:57 AM »
LevelZap 1.0.2: https://archive.org/details/level-zap-1.0.2 is working just fine
Size: 628745 byte (614 KiB) CRC64: E493B59987014801

One thing you have to give credit to Windows systems for is the fact they do support legacy programs for a long time (even decades! :Thmbsup:)

Original address: https://www.donationcoder.com/forum/index.php?topic=46630.0