How do you enable the "command extensions"?

G

Guest

When I display the online help on the FOR command on Windows 2000, I read that you need to enable the "command extensions" to get very useful additional forms of the FOR command (/D, /R, /L, /F). Does anyone know what are those "command extensions". I could not (despite 1 hour of attempts) find anything else on command extensions in the Win2000 help. Many thanks. Stefano
 
M

Michael A. Covington

As I recall, it can be done as an argument of cmd.exe, or with the setlocal
command and a special argument. I'm sorry I don't have the particulars of
either one at hand.

Stefano Gatto said:
When I display the online help on the FOR command on Windows 2000, I read
that you need to enable the "command extensions" to get very useful
additional forms of the FOR command (/D, /R, /L, /F). Does anyone know what
are those "command extensions". I could not (despite 1 hour of attempts)
find anything else on command extensions in the Win2000 help. Many thanks.
Stefano
 
M

Matthias Tacke

Michael A. Covington said:
As I recall, it can be done as an argument of cmd.exe, or with the
setlocal command and a special argument. I'm sorry I don't have the
particulars of either one at hand.
You are right. AFAIK there are 3 ways. Change registry to permanently
enable extanesions, the cmd swich and setloacl

1. and 2. see cmd /?
3. setlocal enableextensions (see also setlocal /?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top