a quick and painful way to remove all the junk files from manually installed asset's, if you still have the downloaded asset's archive to use as a blueprint for the files which need to be deleted :
first up you need to create a .bat [batch] file, and save it in the windows directory called filelist.bat with the following inside :
then you need to add a new context menu entry to the [ folder directory ] entry in the registry so you can right click on a folder and create a directory structure filelist.txt, using the .bat file saved in the windows directory, there is a tutorial
after you have completed all of that, you need to create a filelist.txt of the asset you want to remove from your library, when you open the filelist.txt in notepad, you need to use search and replace
so file lines like :
M:\path_to_daz3d_library\Runtime\Props\Marshian\Heavy Rain\3Delight\HR Rain Planes 3DL.duf.png
become
del /q "%yourDir%Runtime\Props\Marshian\Heavy Rain\3Delight\HR Rain Planes 3DL.duf.png"
so once that is done, you can create a asset delete .bat [ batch ] file and save it into your Daz3d library folder, containing the following :
there is no way to remove empty folder's, beside's using another program to search for empty folder's as different asset's use the same creator's folder name, and you will end up removing other asset's if you us rmdir inside a .bat file
first up you need to create a .bat [batch] file, and save it in the windows directory called filelist.bat with the following inside :
Code:
cd %1
set "yourDir=%1"
dir /s /b /o:g %yourDir% > filelisting.txt
filelisting.txt
cd ..
pause
You must be registered to see the links
or if you are willing you can download a .reg file which will add "Create File List" to the right click menu, for folder's >
You must be registered to see the links
otherwise you can create a .reg file yourself in notepad with the following inside :
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\Create File List]
@="Create File List"
[HKEY_CLASSES_ROOT\Folder\shell\Create File List\command]
@="\"C:\\Windows\\filelist.bat\" \"%1\""
so file lines like :
M:\path_to_daz3d_library\Runtime\Props\Marshian\Heavy Rain\3Delight\HR Rain Planes 3DL.duf.png
become
del /q "%yourDir%Runtime\Props\Marshian\Heavy Rain\3Delight\HR Rain Planes 3DL.duf.png"
so once that is done, you can create a asset delete .bat [ batch ] file and save it into your Daz3d library folder, containing the following :
Code:
cd /D "%~dp0"
set "yourDir=%~dp0"
echo 'working dir %yourDir%'
#paste full file list below
del /q "%yourDir%Runtime\Props\Marshian\Heavy Rain\3Delight\HR Rain Planes 3DL.duf.png"
cd ..
pause