Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: DOS Commands (Advanced)

  1. #1
    Senior Member
    Join Date
    Sep 2003
    Posts
    279

    DOS Commands (Advanced)

    NOTE: DO NOT edit any registry or boot files unless you know what your doing.


    Keys And their functions in command prompt.

    F1 : Repeats the letters of the last command line, one by one
    F2 : Displays a dialog asking user to "enter the char to copy up to" of the last command line
    F3 : Repeats the last command line (Similar to DOSKEY)
    F4 : Displays a dialog asking user to "enter the char to delete up to" of the last command line
    F5 : Goes back one command line
    F6 : Enters the traditional CTRL+Z (^z) (End-Of-File)
    F7 : Displays a menu with the command line history (Similar to DOSKEY)
    F8 : Cycles back through previous command lines (beginning with most recent).
    F9 : Displays a dialog asking user to enter a command number (0 is for first command line)

    Unix style file- and directory- name completion
    Edit the registry and add/update these (REG_DWORD):

    [HKEY_CURRENT_USER \Software \Microsoft \Command Processor]
    CompletionChar= 9
    PathCompletionChar= 9

    BOOT Menu
    Edit CONFIG.SYS and try it out

    [MENU]
    MENUITEM=DOS, DOS with CD-ROM
    MENUITEM=WIN, Windows

    <By using SUBMENU you will creating an extra menu(TEST)>
    SUBMENU=TEST, Testing

    <Using MENUDEAFAULT makes it possible to choose a certain>
    <item(WIN) and if it's set also select that item after a certain>
    <time(20 secs)>
    MENUDEFAULT=WIN, 20

    <Here is the SUBMENU it can also include other SUBMENUs>
    [TEST]
    MENUITEM=TEST1, Testing 1

    Avoid F5 & F8 to work at startupt
    Edit CONFIG.SYS and insert line at the top

    SWITCHES=/F

    Make a diskcopy with only one floppy disk drive
    In command prompt, it will ask for a disk in drive B: , insert the disk which the copy should be placed.

    DISKCOPY A: B:

    System Generated Variables
    %DATE%
    %TIME%
    %SYSTEMROOT%
    %COMPUTERNAME%
    %USERNAME%
    %USERDOMAIN%

    Specify what commands to be run when opening a command prompt
    When opening a command prompt it checks the following STRING values in the registry to see if any commands should be executed :
    [HKEY_CURRENT_USER \SOFTWARE \Microsoft \Command Processor]
    [HKEY_LOCAL_MACHINE \SOFTWARE \Microsoft \Command Processor]
    Autorun = "prompt [%computername%]$S$P$G && COLOR 0A"
    Note the commands above will change the command prompt and color.

    Note to specify several commands seperate them with &&, or use a batch file.

    Note the cmd has a switch to disable the execution of the Autorun :
    cmd /d


    ------------------------------------------------------------
    SOURCE/MORE/LINKS(http://snakefoot.fateback.com/tweak/winnt/prompt.html)
    AntiOnline Quick Forum Version 2b Click Here
    10010101000000110010001100111

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Posts
    220
    Nice info...thanks alot
    [gloworange]And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict\'s veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found. \"This is it... this is where I belong...\" I know everyone here... even if I\'ve never met them, never talked to them, may never hear from them again... I know you all...[/gloworange]

  3. #3
    Senior Member
    Join Date
    Dec 2002
    Posts
    134
    cheers for that, its getting pretty rare to hear people talking about the command line in windows.

  4. #4
    Senior Member
    Join Date
    Oct 2002
    Posts
    1,130
    Excellent post, spools. However, I believe it would be better in the tutorials forum?

    (Heh, I thought you meant DoS as in 'Denial of Service'. 3 years ago it wouldn't have even crossed my mind. The times they are a changin'...)
    Government is like fire - a handy servant, but a dangerous master - George Washington
    Government is not reason, it is not eloquence - it is force. - George Washington.

    Join the UnError community!

  5. #5
    Senior Member
    Join Date
    Sep 2003
    Posts
    279
    Yes it is. I've actually just started exploring the new commands with windows 2000/XP. So many more. When I first heard about windows XP I heard that it was suppost to eliminate the command prompt all together. Then after it came out i realized that instead of removing it they just added onto it.
    AntiOnline Quick Forum Version 2b Click Here
    10010101000000110010001100111

  6. #6
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    Posts
    4,325
    spools.exe: If you're just starting to explore more functions of the windows command line, I'd recommed you get the win2k resource disk. It comes with tons of useful tools.

    You can download *some* of them free from m$, but not nearly as many as the disk has.
    Many of them are actually just .vbs scripts, but work from CLI. Edit them to fit your needs.

    http://www.microsoft.com/windows2000...it/default.asp

    There is also a couple of extra tools on the win2k/xp disk in the \support\ folder.

    Another good resource I've come to love is:
    Windows 2000 Admin Scripting Little Black Book: A Concise Guide to Essential Scripting for Administration
    Check out your local Boarders. They were selling this book for US $4.99. I've seen it on two shelves they put out front at different boarders. Guess they're just trying to get rid of it?

  7. #7
    Senior Member
    Join Date
    Sep 2003
    Posts
    279
    Awesome, thankyou very much.
    AntiOnline Quick Forum Version 2b Click Here
    10010101000000110010001100111

  8. #8
    Senior Member
    Join Date
    Dec 2002
    Posts
    134
    cheers for that link phishphreek80 i`m downloading some of them now, the`ll deffently come in usefull.

  9. #9
    Senior Member
    Join Date
    Jan 2003
    Posts
    220
    wow phishphreek80, good advice....thanks
    [gloworange]And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict\'s veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found. \"This is it... this is where I belong...\" I know everyone here... even if I\'ve never met them, never talked to them, may never hear from them again... I know you all...[/gloworange]

  10. #10
    Good job, Spools! Nice link!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •