Puedes usar una ruta absoluta o una ruta relativa. Explicaré ambas, y también explicaré cómo llegar allí si tu directorio de trabajo actual está en una unidad separada. En los ejemplos, incluiré el "prompt" para el contexto. Los comandos reales vienen después del ">" (signo mayor que). Utilizaré "_" (guión bajo) para indicar el cursor en el prompt después de terminar de ejecutar los comandos.
If you begin the path with a backslash, it is considered an “absolute” path (relative to the top level, which is called the “root directory”), so the following command will do what you want:
- C:WindowsSytem32> cd Users
- C:Users> _
If you omit the backslash, it is considered a relative path, so the following will try to go to C:WindowsSytem32Users:
- C:WindowsSytem32> cd Users
- The system cannot find the path specified.
- C:WindowsSytem32> _
You can also traverse upward in the directory structure with a relative path by using .. (which means “parent directory”). In this case, you are two directories deep, so you will need to go up two directories before descending into the Users directory. You could do that with the following command:
- C:WindowsSystem32> cd ....Users
- C:Users> _
If your current working directory is on another drive (drive D, for example), you will also need to change to the target drive by typing the drive letter followed by a colon. For example:
- D:Documents> c:
- C:WindowsSystem32> cd Users
- C:Users> _