Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

Online coding site: Ancient Brain

coders   JavaScript worlds


CA170      CA668      CA686

Online AI coding exercises

Project ideas

Windows command line

The Windows command line (or DOS command-line) on Microsoft Windows also has commands you can type at a prompt.


Demo in lecture


  1. cls (like UNIX clear)

  2. cd (works like in UNIX)

  3. cd (with no argument) (is like UNIX pwd)

  4. find (like grep)
    find "Henry" home.html


  1. File wildcards work. Go into "richardii" and try:
    find "Ireland" *.html
    Lists all files plus matches. Lists files even if they have no matches.

  2. Some directory wildcards work.
    From the home Shakespeare directory:
    cd macb*

  3. Some directory wildcards don't work.
    From the home Shakespeare directory, this works:
    find "Ireland" richardii\*.html
    but this does not work:
    find "Ireland" *\*.html
  4. You can get around this by writing a batch file with a FOR loop.


ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.

Wikipedia: Sometimes I link to Wikipedia. I have written something In defence of Wikipedia. It is often a useful starting point but you cannot trust it. Linking to it is like linking to a Google search. A starting point, not a destination. I automatically highlight in red all links to Wikipedia and Google search and other possibly-unreliable user-generated content.