Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Just found this one for NT :)

  • 14-12-2001 11:56am
    #1
    Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭


    Only works for NT/W2K.

    Change the registry Key

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar

    to 9.

    (make sure it's REG_DWORD)

    Now when you open up a DOS box (CMD.exe) you can autocomplete directory names (or toggle though choices) by pressing Tab. Something similar to what Linux has.

    (I know it's old, I just found it ok. :) )

    Also, one I've known for a while is you can use wildcards in your directory paths in the CMD prompt.

    eg.

    cd \winnt\system3*\dr*\e*

    would go to \winnt\system32\drivers\etc


Comments

  • Registered Users, Registered Users 2 Posts: 18,484 ✭✭✭✭Stephen


    Never knew about that, it'll be handy :)

    thanks Hobbes.


  • Closed Accounts Posts: 512 ✭✭✭beaver


    Similar to what a number of Linux shells have rather. Just to be pedantic.


  • Registered Users, Registered Users 2 Posts: 2,494 ✭✭✭kayos


    Very Very Handy.....

    This one is good as well it allows you to right click on a folder in explorer and open a cmd prompt in that folder agian for NT/2K only methinks
    REGEDIT4
    
    [HKEY_CLASSES_ROOT\Folder\shell\DosHere]
    @="Command &Prompt Here"
    
    [HKEY_CLASSES_ROOT\Folder\shell\DosHere\command]
    @="C:\\WINNT\\System32\\cmd.exe /k cd \"%L\""
    

    just edit the above to point at your right cmd.exe and add ot a reg file and double click and your away......

    Or for developers to register and unreg COM compentents there is this one
    REGEDIT4
    
    ; Register and Unregister DLLs and OCXs
    [HKEY_CLASSES_ROOT\.dll]
    @="dllfile"
    
    [HKEY_CLASSES_ROOT\.ocx]
    @="dllfile"
    
    [HKEY_CLASSES_ROOT\dllfile\shell\Register COM Server\command]
    @="regsvr32 \"%L\""
    
    [HKEY_CLASSES_ROOT\dllfile\shell\Unregister COM Server\command]
    @="regsvr32 /u \"%L\""
    
    ; Register and Unregister EXEs
    [HKEY_CLASSES_ROOT\.exe]
    @="exefile"
    
    [HKEY_CLASSES_ROOT\exefile\shell\Register COM Server\command]
    @="\"%L\" /regserver"
    
    [HKEY_CLASSES_ROOT\exefile\shell\Unregister COM Server\command]
    @="\"%L\" /unregserver"
    
    

    again just copy and save as a reg file and double click.....

    Kayos


  • Registered Users, Registered Users 2 Posts: 9,046 ✭✭✭Dustaz


    n1 hobbes :)


  • Registered Users, Registered Users 2 Posts: 4,400 ✭✭✭TacT


    nice one, this will come in v.handy, cheers! :D


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,265 ✭✭✭MiCr0


    afaik thats already built into w2k


  • Registered Users, Registered Users 2 Posts: 4,400 ✭✭✭TacT


    I just checked the few com's we are "testing" 2kpro on atm and you are right micro, but alas, this network is all nt4.0


Advertisement