GithubHelp home page GithubHelp logo

eteeselink / cdhere Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 3.0 17.12 MB

Change the current console directory to wherever you're looking at in Windows Explorer

License: zlib License

C++ 86.91% Objective-C 2.96% Shell 10.13%

cdhere's People

Contributors

dbohdan avatar eteeselink avatar imdn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

imdn cdoru xeiliex

cdhere's Issues

Has problems if installed on a path with spaces (i.e. c:\program files)

Seems to have a problem if installed in a path with spaces in it.

C:\Program Files\cdhere-1.2>addToPath.cmd
Added C:\PROGRA~1\cdhere-1.2\ to system path!
Press any key to continue . . .

Open Windows Explorer to c:\temp
Switch back to command prompt

C:\Program Files\cdhere-1.2>cdhere
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

webBrowserApp->get_HWND((LONG_PTR*)&hwnd)Code: -2147467259

Hi

I've changed my laptop recently, changing from Vista to Seven, and the same config that previously worked fine now fails

When I invoke cdwhere.exe I now get the following :
webBrowserApp->get_HWND((LONG_PTR*)&hwnd)Code: -2147467259

Any clue at what I should look into? Thanks

Use with msysgit's bash

Not an issue per se, but a tip if anyone has the same use case.

To use cdhere in your MSysGit Bash environment, add this to ~/.bash_profile :

function cdhere {
    CDWHERE=$(c:/path/to/cdhere/cdwhere.exe)
    if [ "$CDWHERE" != "" ]; then
        cd $CDWHERE
    fi
}

Again, thanks for that tool. Very neat.

No license

The project is missing a LICENSE file and no license in mentioned in readme.md.

Requires msvcp110.dll & msvcr110.dll

You need to have some MS VC package installed on your computer, in which case you might want to mention that in your readme. An alternative to consider might be to ship your program with those 2 DLLs?

Other than that, great little tool, thanks :)

Feature request: command line option for cdwhere.exe to select destination via dialog

What I have in mind is a "Browse for Folder" dialog that starts at your current location by default or elsewhere if you specify a starting location. E.g., cdwhere.exe /d could get you something like

wfolder

while cdwhere.exe /d c:\python26 would start at

wfolder-python26

Using this kind of dialog would arguably be easier than opening a new Explorer window for when you don't have the destination directory already open in Explorer. With the dialog implemented your program would serve as a FOSS replacement for Wfolder (http://www.horstmuc.de/w32dial.htm).

Total Commander integration [feature]

It would be very nice if cdhere had a switch to pick the current path from the active Total Commander (or Double Commander) pane rather than from File Explorer. Better still if on top that it could automatically decide whether to get the path from Explorer or Total Commander (based on their respective windows' z-order?).

Proposed usage:

  • cdhere /x — get path from File Explorer
  • cdhere /t — get path from Total Commander
  • cdhere — decide automatically

A simple but kludgy way to accomplish getting the path from Total Commander would be to ask the user to define a keyboard shortcut for cm_CopySrcPathToClip beforehand and then have cdhere send that keyboard shortcut as input to TC. Whether you could do this in a less kludgy way requires further research.

I may get to implementing this later.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.