eteeselink / cdhere Goto Github PK
View Code? Open in Web Editor NEWChange the current console directory to wherever you're looking at in Windows Explorer
License: zlib License
Change the current console directory to wherever you're looking at in Windows Explorer
License: zlib License
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.
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
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.
The project is missing a LICENSE file and no license in mentioned in readme.md
.
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 :)
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
while cdwhere.exe /d c:\python26
would start at
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).
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 Explorercdhere /t
— get path from Total Commandercdhere
— decide automaticallyA 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.