First, I'm not a programmer, so go easy on me! I'm using TCMD v11.00.48 x64. I've been struggling to figure out how to get a space character passed from the command line to @replace in a batch file. @replace works fine when it's written like %@replace[ ,_,text]. But it won't work if I pass " " from the command line and then use @unquote, such as %@replace[%@unquote[%1],%2,%3]. For example, what happens is: SET 1=" " SET x=@unquote[%1] ECHO %x In this case X seems to have null value. I also tried to directly send the character to a variable, as in: SET 1=%@char %@replace[%1,%2,%3]. But %@char seems to return a null value. I have worked around it by testing for " " and making a special version of @replace for that situation, but I can't help but feel that there must be a more elegant way to handle " " on the command line. What follows is what I've written so far (and it does work!). Thanks!