1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

DOS + Operable Program/Batch File

Discussion in 'Windows XP' started by keinloffel, 2003/06/21.

Thread Status:
Not open for further replies.
  1. 2003/06/21
    keinloffel

    keinloffel Inactive Thread Starter

    Joined:
    2003/06/21
    Messages:
    2
    Likes Received:
    0
    1) I am not very experienced using DOS. I have used UNIX alot more.

    Could someone tell me some of the basic commands equivalent to common commands used in UNIX.

    ls = dir
    less = ?
    more =?
    cp = ?
    mv = ?
    mkdir = ?
    rmdir = ?

    I'm asking for alot here, but ae there any mods out there that allow me to convert one to the other?

    2) I just installed emacs on my Windows system. When i try to open a file using emacs from the command line, I get the following message:

    'emacs' is not recognized as an internal or external command, operable program or batch file.

    How can make emacs an operable program so that I can run it from the command line?

    It is not in my Program Files folder. I installed in my D:\ instead of C:\ for disk space reasons.

    Thanks!

    KeinLoffel
     
  2. 2003/06/21
    BillyBob Lifetime Subscription

    BillyBob Inactive

    Joined:
    2002/01/07
    Messages:
    6,048
    Likes Received:
    0
    I believe that in order to use DOS they way I think you would like to you will need to go back to Win98 SE.

    Anything above that lacks in DOS support,

    XP does not have the capacity to go to a separate DOS at boot up or from within Widows the way SE does.

    BillyBob
     

  3. to hide this advert.

  4. 2003/06/21
    mflynn

    mflynn Inactive

    Joined:
    2002/08/14
    Messages:
    4,141
    Likes Received:
    9
    I have used Unix/linux etc very little but


    ls = dir Yes correct

    less = ? don't know

    more =? if used to direct long listings to screen and pause at each screenful then yes as in

    dir |more

    cp = ? don't know

    mv = ? assume this is the move command as in

    move thisfile.txt c:\thisplace (will move the file to \thisplace instead of copy)

    mkdir = ? Yes as is or can be shortend to md
    rmdir = ? Yes as is or can be shortend to rd

    If you will explain the function of the others; less, cp I will give you the equivelent.

    Your emacs is not found in the path so specify as in

    d:\EmacsDir\emacs (replace EmacsDir with true location)

    Mike

    PS to get help on all builtin commands do this

    dir /?
    copy /?
    move /?
     
  5. 2003/06/21
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Mike - for the Unix-impared, take a look at http://www.math.wpi.edu/Doc/help/unix.html

    keinloffel - most (but by no means all) the Unix commands do have a DOS equiv. And if you locate the file you need, you can add the location to your environmental variables which puts it on the path the PC will routinely check.
     
    Newt,
    #4
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.