الثلاثاء، 24 مارس 2009

Enable / Disable Command prompt extensions

Enable / Disable Command prompt extensions

If the Windows 2000 / Windows XP or windows 2003 Command Extensions are enabled the PROMPT command supports the following additional formatting characters:
  $+   zero or more plus sign (+) characters depending upon the        depth of the PUSHD directory stack, one character for each        level pushed.    $M   Displays the remote name associated with the current drive        letter or the empty string if current drive is not a network        drive.
To enable or disable the command prompt extension in Windows 2000 or Windows XP, use the following registry hack: 
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Command Processor
Name: EnableExtensions
Type: REG_DWORD
Value: 1 enable
Value: 0 disable

 
You can enable/disable the extensions for the command shell you are in by issuing the following commands:

cmd /y disables command extensions for this cmd session
cmd /x enables command extensions for this cmd session



See all the ways you can stay connected to friends and family

How to get "systeminfo" of Windows 2000 system

How to get "systeminfo" of Windows 2000 system
The "systeminfo" command on Windows XP and 2003 provides the basic system configuration information. 
There is no similar command which exists on Windows 2000 system. However, it can be gathered using following way.
 
Run the following systeminfo command on a Windows XP or 2003 system
c:\systeminfo /s <windows 2000 system ipaddress> /U <admin user>
 
e.g.
c:\systeminfo /s 192.168.1.101 /U administrator
Type the password for administrator:********


check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages