1.

Solve : What are "Command Extensions"?

Answer»

Hi,

In help file of many commands like for, etc there is a line like:

If Commnad Extensions are ENABLED ...

What are these.

ThanksCommand extensions allow you to do things indirectly from the command line. For instance you can run a MP3 or DOC file directly from the command line and by virtue of it's file type will open the correct application. (Windows Media Player or Word). This applies to how your file associations are setup.

Command extensions are enabled by default. Extensions also apply to some shell commands which enable special character handling.

Hope this helps. Quote

Hope this helps.


You have cleared everything.

Okay a sidetwist, if they are enabled by default then can they be disabled somehow? Use the /e: off SWITCH with cmd to disable command extensions. Only valid for the cmd session.

You can shut off extensions permantly by updating the

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\EnableExtensions KEY in the registry.

Why would you want to do this?

Note: Do not put a space between the colon and off when using the switch. The FORUM interpreted a colon, little o as a emoticon.Okay,

I was just THINKING, there should be other way round also.

Thanks.


Discussion

No Comment Found