1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Directory history entries from /S option of various commands

Discussion in 'Support' started by Steve Fabian, Mar 19, 2012.

  1. Steve Fabian

    May 20, 2008
    Likes Received:
    My only use of the directory history is for directory navigation. As such, I am not interested what directories one of my batch programs visited, nor what subdirectories (sometimes hundreds of them) a COPY command used for directory tree backup visited. My preference is that it contain only directories visited at the command prompt. OTOH some commands which perform subdirectory iteration add each one visited during iteration to the history. I could be slightly off, it may be that only those in which action was required are added. Regardless, this results in a very bloated directory history, in which the significant entries, the ones I manually switched to, are well nigh impossible to find.

    I would like to have a configuration option by which to choose between the current operation and the reduced operation (only directories that are the CWD at a command prompt). I would like to hear from other users who agree with me.
  2. David Marcus

    Jun 4, 2008
    Likes Received:
    CDD, CD, and PUSHD have an /X option.
  3. rconn

    rconn Administrator
    Staff Member

    May 14, 2008
    Likes Received:
    I don't know what you're referring to here -- /S never saves subdirectories to the directory history, in any command.

    Only CD, CDD, and DIRHISTORY update the directory history.

Share This Page