Addendum: This method was used to provide a shell-like interface on an XP machine running Citrix server. The "full desktop" application was published (looks like Remote Desktop) but wouldn't let me use the shell due to security questions. Many have wondered why exactly I did what I've done below, so now you know the context.
Step 1: Create the Batch File
Inside the file, put the following code:
REM make all environment changes local to the execution of this script.
REM show customized welcome message, version of Windows and a blank line
@ECHO --== Welcome to your customized DOS Batch Shell ==--
REM create loop block where user is prompted for a command and
REM that command is executed, displaying the results.
REM Display working dir prompt, asking for a command.
@set /p USERCMD=%CD%!
REM "quit" or "exit" will both exit this shell.
@IF "%USERCMD%"=="quit" GOTO END
REM execute the received command.
REM go back to the beginning of this block.
REM end local environment changes
REM pause briefly before closing this window
Step 2: Run the Batch File
Step 3: It Works! (right?)
I wasn't able to figure out a way to echo the greater-than symbol for use with a prompt, so instead I used the exclamation mark (followed by a space, although you can't tell that from the picture). Go ahead and customize your batch file to suit your needs. Try using ASCII codes that create graphics, tables, and so on. Be creative! Try typing "prompt /?" to get some ideas, too.
I created this batch file out of necessity. While at work I was given a very "nerfed" account on a Windows machine, but really needed the output of some simple DOS commands. I hope you find this useful.