Running GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) on Windows 7, the shell command (M-x shell) always creates a DOS box with the home directory. I've seen in other questions/answers that the default behaviour is to start a shell in the directory of the file in the current buffer, for example, Setting default working directory/drive in Emacs shell on Windows
I'm running from a limited user account, but this has not affected any other functions so far. Googling produced lots of information on how to switch to alternative shells, but I want to keep the normal DOS box. I just want to be able to start in the directory of the file that I'm viewing.
So which options need to be reconfigured?