DirectoryStack[] not showing top directory stack item

Discussion in 'Mathematica' started by phillman5, Jan 6, 2012.

  1. phillman5

    phillman5 Guest

    Looking at the on line help for DirectoryStack it shows the following

    "C:\Program Files\Wolfram Research\Mathematica\6.0"

    {"C:\Program Files\Wolfram Research\Mathematica\6.0",
    "C:\Program Files\Wolfram Research\Mathematica\6.0\Documentation\
    English\System\ReferencePages\Symbols", "C:\Documents and
    Settings\roger\My Documents"}

    However when I request a DirectoryStack it never shows the top item

    /Volumes/RamDisk/D1 line <--this is correct

    "/Users/phillman5" <- missing new stack
    value set above

    However if I do a Directory[] I do get the top entry

    /Volumes/RamDisk/D1 line

    On starting Mathematica it shows that the DirectoryStack is empty.

    Also ResetDirectory[] shows the resulting top DirectoryStack item,
    not the one popped.

    I am using Mathematica on Mac OSX 10.6.8
    phillman5, Jan 6, 2012
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.