need to enter specific folder in cmd

March 17, 2013 at 08:29:45
Specs: Windows 7
i have to locate this one folder in cmd which is located in c drive
my cmd command is showing me
C:/>
when i right folder name in front of this
it will not accepting giving me something no recognized error.

See More: need to enter specific folder in cmd

Report •

#1
March 17, 2013 at 08:46:00
You will need to write the entire file path. If you are trying to navigate to:

C:\Users\Public\Documents\Cyberlink

You would write out (in CMD window):

cd\users\public\documents\cyberlink (then press enter)


Report •

#2
March 17, 2013 at 11:20:11
Keeping in mind that the command cd means Change Directory.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#3
March 17, 2013 at 18:58:33
It will be showing C:\> not C:/>

You have to be very exact in a DOS environment.

If you can't sort this out we need to know the exact error message,
what you are trying to do and the path to the file.

Always pop back and let us know the outcome - thanks


Report •

Related Solutions

#4
March 19, 2013 at 23:36:43
Windows 7 will properly replace a path's forward slash with backward slash in command prompt, a non-DOS environment.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#5
March 20, 2013 at 02:42:32
If you want to have the "Open Command Prompt window here" option when you are on a specific folder, then you should follow the procedure outlined here.

You have two choices: One is temporary, the other is permanent. The permanent one requires you to edit registry. If you are not comfortable editing registry, then do not do it. Otherwise, you may permanently damage your OS. In this case, use the temporary choice every time you want to do it. Please be warned.


CoolGuy


Report •

#6
March 20, 2013 at 07:21:40
Xps86

As Command Prompt is emulated DOS then I think it reasonable to call it a DOS "environment", ie somewhere where the general DOS rules and functions apply.

Command Prompt didn't replace forward slash with backward slash on my Win 7.
It said "Parameter format not correct".

Always pop back and let us know the outcome - thanks


Report •

#7
March 20, 2013 at 20:09:40
Upon reading #3, I doubted your remark requiring a backward slash in Windows 7's command prompt, so I tested it twice changing the directory in Win 7 Pro SP1. Both times the slash was converted to a backward slash. I recalled that a proper slash was required in the recent past, so I tested it twice in Win XP Pro SP3. Both times I got an error.

As for the non-DOS environment, I'd agree that it's appearance and functionality closely resembles DOS because that's what it was based upon. Since we were talking specifically about a slash specifically in Windows 7, it made sense to clarify that command prompt is not specifically DOS, so not all rules apply. Zooming out, your comment said that a backward slash was required when referencing a path in command prompt, and I said you're incorrect in Win 7, the board in which this thread resides and the OP's specs mention.
-----

Here's to hoping nafisa didn't abandon the thread.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#8
March 21, 2013 at 08:30:01
Xps86

I was using Win 7 starter. I'd be surprised if that made any difference but without each of us knowing exactly what we entered then no conclusion can be reached.
So, this is what I did:

From Command Prompt it defaults to "C:\Users\<name>". I went back to the C prompt by entering cd.. twice. I then input this command:
dir c:\windows
This listed the Windows directories as expected.

I then went back and entered this instead:
dir c:/windows
This gave me "parameter format not correct"

I'd be interested to know if your particular Win 7 version accepts that last command.

Whatever, in any DOS environment (emulated or otherwise) I think it is best practice to encourage the correct syntax, even if in some instances the wrong syntax is accepted. A good example was on Win 9x, where scanreg/fix was accepted in certain circumstances, even though it should be scanreg /fix (with a space before the "/switch"). To my mind it is best to use the proper syntax as that will work in all situations, including true DOS, rather than one that "sometimes" works.

The point I made in #3 which started this discussion is correct, the system never shows the C prompt with a forward slash, or anywhere else "in paths" for that matter. Forward slashes are reserved for "switches", such as the sfc /scannow (where scannow is a switch or qualifier to the sfc command). It is this distinction, to my mind, that emphasises the need to be exact.

Always pop back and let us know the outcome - thanks


Report •

Ask Question