I know I can change the command prompt to startup on C:\ rather than F:\Documents And Settings or wherever. But I was wondering if it's possible to set bookmarks or some other command that allows me to switch to locations.
For example, my Python projects have a long (about 7 subdirectories) address (think that's the word), and as such it takes a while to cd to them. What I would like to do is something like gotodirectory PythonProjects , and have it cd to where I have specified this, be it C:\WINDOWS or F:\Games\Steam\steamapps\common\some game\some game data\some more game data.
cmd.exefeatures would make the script much shorter. For one, you can forcecdto change drive letters with/doption. (Usingpushdwould work nicely too.) Second,goto :EOFmakes the explicit:endlabel unnecessary; there also isexit /b. Third, command grouping - either using( )or&- allows you to remove the rest of labels. (Feel free to revert the edit.) – u1686_grawity Jan 04 '11 at 21:46