Notice the path defaults to my users folder? So in order to change it I have to enter a command like this: cd C:\ which will change the path to the root C:\ folder. I have learned a better way than doing the cd command to get to arbitrary folders.
If you click on your arbitrary folder, then hold down the Shift key and right click you will see this menu come up:
Notice there is a choice to “Open a Command Window Here?”
Clicking this menu item will give you this:
Woo hoo! No cd command nonsense!
One other thing, you may need to have your command window open with administrator privileges. here is a link that explains how you can make that happen automatically:
Setting Command Window to Open in Administrator Mode
One trick I've been using for a while is that once you are in a command window, you can use the {Tab} key to avoid typing an entire folder or file name.
ReplyDeleteFor instance, from c:\>, type cd W{Tab}, then the first folder name starting with "W" will appear:
c:\>cd Windows
If there's more than one folder starting with "W," just keep pressing {Tab} to find the one you want.
This works for file names too, and automatically adds double quotes around filenames containing spaces. :)
Good one! I didn't know you could do that. Thanks for sharing it!
ReplyDeleteBob
Sure! Didn't mean to be anonymous, by the way...
ReplyDelete