@steve6375
In the snippet you posted, there are some different number of spaces from what you stated.
I selected the contents of your codebox, pasted in Notepad, replaced " " ( 7 spaces) with "1234567", " " (6 spaces) with "123456" and " " (5 spaces) with "12345", etc..
Result (I bolded last of the replaced numbers :
map123456--mem /menu.lst (60)
map123456--hook
cat123456--locate="map123--"1234567--replace="###" (60)+50 >nul
cat123456--locate="cat123--locate" --replace="###" (60)+50 >nul
cat123456--locate="configfile1234"12--replace="###" (60)+50 >nul
#PLACE TEST ENTRIES HERE
if exist /trk3/menu.lst cat --locate=#TR --replace="123" (60)+50 >nul
#load menu from ram
echo Loading modified menu.lst
configfile1234567(60)+50
# MAIN MENU GOES HERE (do not use 5 spaces after map, cat or configfile)
map --unhook
map --unmap=60
#TR title Trinity Rescue v3.4
# You must set the drive volume label on the next line
#TR set VOL=RMPREPUSB
#TR configfile /trk3/menu.lst
title Hello!
root
Can you confirm/deny/correct?
(and possibly also spend a few words to explain how it works and/or post a "complete" example)
Wonko