Skip to content
john-peterson edited this page Oct 3, 2014 · 8 revisions

Downloads

Disable zap confirmation

This value

reg add HKCU\Software\LevelZap /v PromptUser /t REG_DWORD /d 0

disable the prompt

[Window Title]
LevelZap

[Main Instruction]
Confirmation required

[Content]
This action can't be undone

[Move up "New Folder" contents one level] [Cancel]

Recursive zap

Holding Ctrl when selecting "Zap one level" display this message that when confirmed flatten the folder recursively

[Window Title]
LevelZap

[Main Instruction]
Confirmation required

[Content]
This action can't be undone

[Level directory structure] [Cancel]

F.e.

mkdir -p test/test/test; printf "test">test/test/test.txt; printf "test">test/test/test/test2.txt
tree
.
└── test
	└── test
		├── test
		│   └── test2.txt
		└── test.txt

3 directories, 2 files


3 directories, 1 file

after recursive zap

tree
.
├── test.txt
└── test2.txt

0 directories, 2 files

Build

The repo version is built with

git clone https://git01.codeplex.com/levelzap && cd levelzap
call build.bat Release x64 LevelZap

If devenv is missing from your environment you can use the build in wiki/Downloads

Register

LevelZap.dll is registered and unregistered with

regsvr32 /s /i bin\x64\Release\LevelZap.dll
regsvr32 /s /u bin\x64\Release\LevelZap.dll

LevelZap.dll is registered in PostBuildEvent of "call build.release.bat"

Clone this wiki locally