If you run Cmd. exe from a shortcut or from %SystemRoot%\System32, the session begins with that folder as the current directory. (Directory is the MS-DOS-era term for folder, and you'll encounter it frequently in command names, help files, and so on .) If you run Cmd from the Start menu, it begins in your %UserProfile% folder. To run a Command Prompt session at a different folder, hold down the Shift key while you right-click the folder in Windows Explorer. On the shortcut menu, choose Open Command Window Here.
Was this article helpful?