En Windows 7 Git Bash, ¿hay alguna manera de explorar el directorio en la ubicación actual?
Me gustaría explorar la carpeta en el Explorador de Windows desde el shell. Sé que mucha gente ha estado pidiendo Cmd aquí desde una carpeta.
Me gustaría hacer exactamente lo contrario y abrir una nueva ventana ubicada en el directorio actual que se está navegando.
5 answers
Para abrir el Explorador de Windows en la carpeta actual, simplemente ingrese:
explorer .
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-07-25 21:19:06
Escriba start .
- abrirá el Explorador de Windows en la ubicación actual.
El comando start
actúa como un doble clic, así que úsalo para abrir archivos también:
start index.html
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-07-25 21:19:55
Si escribe cmd
en la barra de ubicación, Windows abrirá una línea de comandos dentro de la carpeta que está navegando.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2011-10-23 10:09:40
Si viene desde Mac OS X o Linux, también puede crear un alias en su .bash_profile
para usar el comando open como lo haría en otros entornos *nix.
Simplemente agregue la siguiente línea a su ~/.bash_profile
:
alias open="explorer ."
Entonces:
~/.bash_profile
Entonces puede usar el comando open
para abrir la carpeta actual.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-07-25 21:20:58
Windows: explorador .
Mac: abierto .
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-08-06 10:44:15