Supid question, help though!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I need to know something really simple, so simple I can't find an answer
anywhere as of course everyone knows this but me! ;-) How do I "browse" to a
file or folder in the command prompt window? That is my question. I am
learning scripting, and while I am able to double click and get a dialog box
with the script in it, I am unable to open the scrip in the command prompt as
it keeps telling me "Unable to locate file". The file is right there in the
My Docements folder in a sub-folder called My Scrips. The command prompt has
C:\Documents and Settings\User Name then the curser blinks. I tried putting
My Documents at the curser point, but it returned an "invalid command" My not
recongnized as an internal command.

I know this is stupid, but somebody please tell me how to do this right?
Thanks very much,
 
Type help in a command window to see a list of commands and how to use them,
such as CD to change directory
 
Use CD or chdir

Type: cd %userprofile%\My Documents and hit enter.

%userprofile% = C:\Documents and Settings\User Name

%userprofile% is shorter than C:\Documents and Settings\User Name

Type: help and hit Enter for a list of commands

Type: cd /? and hit Enter for help on CD

Command-line reference...
Start | Run | Copy and paste the following line:

hh ntcmds.chm

Click OK.

Double click on the closed book icon.
----------

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>cd %userprofile%\My Documents

C:\Documents and Settings\Wesley P. Vogel\My Documents>cd..

C:\Documents and Settings\Wesley P. Vogel>cd..

C:\Documents and Settings>cd..

C:\>
-----

Command Prompt Copy & Paste

This will set the QuickEdit Mode and the Insert Mode.

Right click the cmd.exe shortcut | Properties | Options tab |
Under Edit Options select both:
QuickEdit mode
and
Insert mode
Click Apply | Click OK

QuickEdit mode
[[Enables you to use a pointing device (mouse) to cut and paste, bypassing
the Edit menu.]]

This option provides a fast, easy way to copy text from (and paste text
into) Command Prompt windows with a mouse. You can highlight text with a
mouse and use the Enter key to copy the highlighted text to the Windows
Clipboard. Or highlight text and right click to copy to clipboard.

Insert mode
[[Enables you to insert text at the cursor. If this is not selected, text
that is typed at the cursor replaces existing text.]]

This option (on by default) allows you to insert text at the cursor
position. You can right click and paste.

Or...
Open a command Prompt | Right click the top border |
Properties | Options tab | Under Edit Options select both:
QuickEdit mode
and
Insert mode
Click Apply | Click OK | Place a tick in Modify shortcut that started this
window |
Click OK.
-----

Highlight text with the cursor and hit the Enter key to copy to the Windows
clipboard. Or highlight text and right click to copy to the Windows
clipboard.

[[By selecting the Quick Edit Mode check box, you enable copy and paste from
the Command Prompt window. To copy, select the text in the Command Prompt
window with your left mouse button, and then right-click. To paste, either
at the command prompt or in a text file, right-click.]]
-----

Alt + Spacebar + E + P will paste contents of clipboard into a command
window.

Alt + Spacebar opens context menu
E opens the Edit menu
P is Paste

Alt + Spacebar + E + S will Select all the contents of a command window.

Alt + Spacebar opens context menu
E opens the Edit menu
S is Select All

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top