Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a button that opens a CMD window (or powershell) set to the current folder #531

Closed
kettenfett opened this issue Jan 9, 2022 · 6 comments

Comments

@kettenfett
Copy link

Hi,
In Tablacus, what is the correct way to add a button that opens a CMD window in the currently opened folder of the active/focussed tab?
I need this functionality very often, multiple times a day. How can it be done?`

I have the toolbar addon installed. but I don't know how to do it.

Thank you.

@tablacus
Copy link
Owner

tablacus commented Jan 9, 2022

  1. Click "+"(Add) button
    image

  2. Enter CMD to Name.

  3. Choose Exec in Type.

  4. Enter cmd /k cd /d %Current% to Options

  5. Click Save and OK.
    image

Regards,

@kettenfett
Copy link
Author

Works like a charm.

Thank you.

@kettenfett
Copy link
Author

Closing this.

@tablacus
Copy link
Owner

Another way

  1. Enter CMD to Name.
  2. Choose Backgound in Type.
  3. Enter cmd to Options
  4. Click Save and OK.

image

@kettenfett
Copy link
Author

kettenfett commented Jan 10, 2022

For reference:
I just noticed, there's also a neat way to get a powershell window instead of a Cmd-Window. For this, just enter "Powershell".

grafik

@kettenfett kettenfett changed the title Correct way to add a button that opens a CMD window in the current folder How to add a button that opens a CMD window (or powershell) set to the current folder Jan 10, 2022
@yuraloginoff
Copy link

In case of PowerShell 7:

Type: Exec
Options: pwsh -NoExit -Command "cd %CURRENT%"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants