I get several Errors while trying to create a CHM. I use the following commands:
set PATH=%PATH%;C:\Users\s219727\Desktop\LAStools\bin;
set NUM_CORES=4
ECHO
mkdir temp_out
for %%F in (height_bodenmais\*.las) do (
rmdir tmp_chm /s /q
mkdir tmp_chm
las2dem -i %%F -drop_z_above 0.1 -step 0.33333 -o tmp_chm/chm_ground.bil
lasthin -i %%F -subcircle 0.1 -step 0.16667 -highest -o tmp_chm/temp.laz
las2dem -i tmp_chm/temp.laz -step 0.33333 -kill 1.0 -o tmp_chm/chm_00.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 2 -step 0.33333 -kill 1.0 -o tmp_chm/chm_02.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 5 -step 0.33333 -kill 1.0 -o tmp_chm/chm_05.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 10 -step 0.33333 -kill 1.0 -o tmp_chm/chm_10.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 15 -step 0.33333 -kill 1.0 -o tmp_chm/chm_15.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 20 -step 0.33333 -kill 1.0 -o tmp_chm/chm_20.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 25 -step 0.33333 -kill 1.0 -o tmp_chm/chm_25.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 30 -step 0.33333 -kill 1.0 -o tmp_chm/chm_30.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 35 -step 0.33333 -kill 1.0 -o tmp_chm/chm_35.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 40 -step 0.33333 -kill 1.0 -o tmp_chm/chm_40.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 45 -step 0.33333 -kill 1.0 -o tmp_chm/chm_45.bil
las2dem -i tmp_chm/temp.laz -drop_z_below 50 -step 0.33333 -kill 1.0 -o tmp_chm/chm_50.bil
lasgrid -i tmp_chm/chm*.bil -merged -step 0.33333 -highest -set_min_max 0 50 -o temp_out/%%~nF.asc
)
The Errors I get are in the attached screenshot.