• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Command Prompt Window

Here are four methods by which one may add the "Command Prompt" to their "right-click menu" in WinXP/Vista:

=============================================

For ease of use you really need to add "Command Prompt" to your Windows Explorer "right click" options menu.

Method #1
  • In explorer, open Tools, Folder Options.
  • Select the File Types tab.
  • For Windows XP: Go to NONE / Folder.
    For Windows 2000: Press n to scroll to the N/A section.
    For Windows NT/98/95: Press f to scroll to the Folders section.
  • Select the entry labeled Folder
  • For Windows 2000/XP: Press Advanced button.
    For Windows NT/98/95: Press Edit button.
  • Select New
  • In the action block type "Command Prompt" without the quotes.
  • In the app block type "cmd.exe" without the quotes.
  • Save and exit Folder Options.

Now right click on Start, you should have a new drop down option. Open explorer and right click on a folder, select Command Prompt and a command window opens in that folder.
==================================================

Method #2

As an alternate to the above method, it's really simple to make a quick Registry edit to add the Command Prompt to the Menu:

1. Navigate in your Registry to

Code:
HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell

and create a key called "Command Prompt" without the quotes.

2. Set the default string to whatever text you want to appear in the right-click menu.

3. Create a new key within your newly created command prompt named "command," and set the default string to

Code:
%SystemRoot%\Cmd.exe /k cd %1

4. The changes should take place immediately. Right click a folder and your new menu item should appear.
===================================================

Method #3

This is for the timid... ;)

1. Open Notepad.exe... Cut and paste the text below.

Code:
[HKEY_CLASSES_ROOT\Directory\shell\Command]
@="Command Prompt:"

[HKEY_CLASSES_ROOT\Directory\shell\Command\Command]
@="cmd.exe /k cd %1"

2. Save the file as "addprompt.reg" (without the quotes of course!)

3. Double-click on the file you just saved. Note this will modify the registry but I promise it is safe. Your anti-virus software might ask you to confirm the registry change and it is safe to allow it.

This adds Command Prompt to the Windows Explorer right click menu. Just right click on a folder, click Command Prompt and you will be at the command prompt in the selected folder.
=========================================

Method #4
There is a small utility from Microsoft that adds "open command window here" option to the folder's context menu. Just install:
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe
 
Hi Folks

Bill -
Many thanks for those.

I've incorporated methods 3 & 4.
Others appear to perform same task,
but harder to achieve.
Unless I've missed the point of them ?
Comments ?

I've got another for application dedicated .pif's.
i.e. Dedicated DOS window environment for each type.

And one that's bat file based,
which sets up the Command environment.

Need to write them up.

ATB
Paul
 
Last edited:
Here is my .pif:

"D:\FSX Programs\SDK\Environment Kit\BGL Compiler SDK\bglcomp" %1 > errors.txt
type errors.txt
pause

Just drag/drop the .xml file on it.

George
 
Hi Folks

Bill -
Many thanks for those.

I've incorporated methods 3 & 4.
Others appear to perform same task,
but harder to achieve.
Unless I've missed the point of them ?
Comments ?

The first two methods are actually only advised for those who're very comfortable directly editing the Registry. Perhaps it's best to omit them entirely... :rolleyes:

Frankly Method #3 (creating a small file in Notepad.exe is ideal, since it addresses this one "subject" only.

While the MS "PowerToys" are really neat, there's a concommitant danger that the user will get lost among all the trees, and completely miss the target tree entirely... :D
 
Back
Top