Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 31559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:37:27+00:00 2026-05-10T13:37:27+00:00

Im searching a tool which allows me to specify some folders as bookmarks and

  • 0

Im searching a tool which allows me to specify some folders as ‘bookmarks’ and than access them on the commandline (on Windows XP) via a keyword. Something like:

C:\> go home D:\profiles\user\home\> go svn-project1 D:\projects\project1\svn\branch\src\> 

I’m currently using a bunch of batch files, but editing them by hand is a daunting task. On Linux there is cdargs or shell bookmarks but I haven’t found something on windows.


Thanks for the Powershell suggestion, but I’m not allowed to install it on my box at work, so it should be a ‘classic’ cmd.exe solution.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:37:28+00:00Added an answer on May 10, 2026 at 1:37 pm

    What you are looking for is called DOSKEY

    You can use the doskey command to create macros in the command interpreter. For example:

    doskey mcd=mkdir '$*'$Tpushd '$*' 

    creates a new command ‘mcd’ that creates a new directory and then changes to that directory (I prefer ‘pushd’ to ‘cd’ in this case because it lets me use ‘popd’ later to go back to where I was before)

    The $* will be replaced with the remainder of the command line after the macro, and the $T is used to delimit the two different commands that I want to evaluate. If I typed:

    mcd foo/bar  

    at the command line, it would be equivalent to:

    mkdir 'foo/bar'&pushd 'foo/bar' 

    The next step is to create a file that contains a set of macros which you can then import by using the /macrofile switch. I have a file (c:\tools\doskey.macros) which defines the commands that I regularly use. Each macro should be specified on a line with the same syntax as above.

    But you don’t want to have to manually import your macros every time you launch a new command interpreter, to make it happen automatically, just open up the registry key

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun and set the value to be doskey /macrofile ‘c:\tools\doskey.macro’. Doing this will make sure that your macros are automatically predefined every time you start a new interpreter.

    Extra thoughts: – If you want to do other things in AutoRun (like set environment parameters), you can delimit the commands with the ampersand. Mine looks like: set root=c:\SomeDir&doskey /macrofile ‘c:\tools\doskey.macros’ – If you prefer that your AutoRun settings be set per-user, you can use the HKCU node instead of HKLM. – You can also use doskey to control things like the size of the command history. – I like to end all of my navigation macros with \$* so that I can chain things together – Be careful to add quotes as appropriate in your macros if you want to be able to handle paths with spaces in them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anone recommend a tool for searching my visual studio projects folders to find
I'm searching for a tool, which i can upload to my server and then
on the backend on symfony 1.4 / Doctrine, you have a tool which allows
I'm searching a tool for generating UML-Diagrams by the import of SQL-Syntax-Files. I need
I am searching for a tool that tests SIP calls. A platform that makes
I'm searching for a tool that will take a source directory and produce a
I've been searching for a conversion tool or a list of things to change
I am searching for an XSLT or command-line tool (or C# code that can
I tried enough searching for a tool in Ubuntu to connect to my remote
Been searching for a good coverage tool for a while now. I'm with VC++

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.