tgoop.com/c4d_folder/531
Create:
Last Update:
Last Update:
ComfyUI QuickTips - How to quickly determine which folder a model is loaded from
Here's an example .bat file that will do just that: iterate through all child folders, create a text file in each one with a name like #FolderName.safetensors, and place it inside the appropriate folder:
@echo off
for /d %%D in (*) do (
if exist "%%D" (
setlocal enabledelayedexpansion
set "folder=%%~nD"
echo. > "%%D\#!folder!.safetensors"
endlocal
)
)
Save this code in a file, for example create_safetensors.bat, place it in the folder where your model folders are located and run it. It will create empty .safetensors files with the desired name in each subfolder.
BY C4D:folder

Share with your friend now:
tgoop.com/c4d_folder/531