Re: cmd.exe



Thanks, can I set this registry change through my domain using group policies?

"Michael Bednarek" wrote:

> On Tue, 23 Aug 2005 23:05:02 +0200, "Robert Starzynski \(kurð\)"
> <comeasyouare*at*o2.pl> wrote in
> microsoft.public.windows.server.active_directory:
>
> >|-----Original Message-----
> >|From: Olaf Engelke [MVP Windows Server] [mailto:oenews01@xxxxxxxx]
> >|Posted At: Tuesday, August 23, 2005 10:51 PM
> >|Posted To: microsoft.public.windows.server.active_directory
> >|Conversation: cmd.exe
> >|Subject: Re: cmd.exe
> >|
> >|
> >|Hi,
> >|mjerikboo777 wrote:
> >|> whenever I open cmd it always opens on my home dir. U:\
> >|>
> >|> How can I make it open for myself, and end users, on the C:\ drive?
> >|>
> >|> This seems simple, but I couldn't find information about it
> >|> specifically anywhere.
> >|>
> >|check the properties of the shortcut to Command Prompt in your
> >|start menu under Accessories. Here you can alter where the
> >|command starts.
> >|Default is
> >|%HOMEDRIVE%%HOMEPATH%
> >|Best greetings from Germany
> >|Olaf
> >|
> >This is for shortcut but not for cmd.exe.
>
> .... which is perfectly fine if the OP starts CMD.EXE through a shortcut.
>
> >The solution is
> >HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\Autorun: cd c:\
>
> You forgot the /D switch - remember, the OP's default is the U: drive.
>
> --
> Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
>
.



Relevant Pages

  • Re: command prompt
    ... Right click the new cmd.exe shortcut | Properties | ... Microsoft Windows XP ... Changes the cmd.exe command prompt. ... Set the Command Processor Appearance in Windows XP ...
    (microsoft.public.windowsxp.general)
  • Re: How to open a command prompt?
    ... Start, Programs, Accessories, Command Prompt. ... Open Task Manager, New Task, type cmd.exe, press enter. ... Create a shortcut on the desktop, ... rename to .bat and run the batch file (or shell script). ...
    (microsoft.public.windowsxp.general)
  • Re: Holding cmd window open
    ... Create a shortcut to the command prompt on the desktop. ... > Many MS tools have an .exe name and a cmd window icon. ... > click on the icon to run the tool, the cmd window opens, the program runs, ...
    (microsoft.public.windowsxp.general)
  • Re: Deleting shortcuts when they are for a C: program
    ... > an actual .exe progam saved on desktop, NOT a shortcut to the program. ... >>>> Try and delete the shortcut from a command prompt. ... >>>> Will Denny ... >>>> Please reply to the News Groups ...
    (microsoft.public.windowsxp.general)
  • Re: Command prompt problem
    ... any app runs a script or shells out, ... When I run Command Prompt ... manually, it always starts in a window, whether I start it from the shortcut ...
    (microsoft.public.win2000.general)