Comments (21)
I ran into the same issue on my Windows 7 machine. I have a fix in a local fork, and will be submitting a pull request shortly.
Update: I see an open pull request (#65) from @kjerk which makes all the changes I had in my own fork. I believe if that pull request is accepted, your issue should be resolved.
from cmder.
I believe this should not be tagged "legacy" because I have this exact issue with Windows 8.1.
from cmder.
I am packing v1.1.2
now and in about hour you can check that out. It should be fixed with new launcher
from cmder.
@Bliker - tested 1.1.2, new cmder.exe launcher complains about lack of MSVCP120.dll, won't start.
from cmder.
Oh damn, thanks, I guess there is a need to distribute that also.
from cmder.
Tested v1.1.2 as well, the launcher is not recognized as a valid Win32 application.
from cmder.
I managed to get a quick intro windows .dll files: does this work for you? Please say yes :-D
from cmder.
I am sorry, but at work I cannot access Dropbox, so I cannot download the files. At home I use OS X, so the best I can do is download from home and test the new release tomorrow. I'll let you know.
from cmder.
As a piece of good news, I finally was able to make the previous release, v1.1, to run from a path with spaces.
I had to modify both the Cmder.bat
and init.bat
files. The trick was to modify the construction of the internal paths, with additional escapes.
The modification to Cmder.bat
was:
@set CMDER_PATH="%~dp0"
@pushd %CMDER_PATH%
@set CMDER_ROOT=%cd%
@popd
and the one to init.bat
@set rootPath="%~dp0"
@pushd %rootPath%
@pushd ".."
@set rootDir=%cd%
@popd
@popd
Now, if it wasn't for the missing prompt, and the fact that clink crashes, it would be perfect...
from cmder.
Actually, it kind of works! :) A vast improvement. The app starts without
complaining now. The only immediate issue I have is that after each and
every command, I get "The system cannot find the path specified."
The command executes, but it looks like something's wonky with the path env
var. I'm not totally sure it's even cmder's fault - I get the same error
when first starting cmd.exe in a normal console window, but then I get it
just once.
On 11 December 2013 14:00, Samuel Vasko [email protected] wrote:
I managed to get a quick intro windows .dll files: does this work for you?https://dl.dropboxusercontent.com/u/52646091/cmder_mini.zipPlease say yes :-D
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-30314662
.
from cmder.
can you type path
and paste the output here? Thanks
from cmder.
λ path
PATH=D:\My Files\Created\Today\cmder
test\vendor\conemu-maximus5\ConEmu;D:\My Files\Created\Today\cmder test\ve
ndor\conemu-maximus5;C:\Program Files (x86)\NVIDIA
Corporation\PhysX\Common;C:\Python33;C:\Program Files (x86)
\ImageMagick-6.8.7-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPower
Shell\v1.0;C:\Program Files
(x86)\Kensington\TrackballWorks;C:\HashiCorp\Vagrant\bin;C:\Program Files
(x86)\Wi
ndows Live\Shared;C:\Python27;C:\Python27\Scripts;C:\Program Files
(x86)\Git\cmd;D:\My Files\Created\Today\cmde
r test\bin;D:\My Files\Created\Today\cmder test\vendor\msysgit\bin;D:\My
Files\Created\Today\cmder test\vendor
msysgit\mingw\bin;D:\My Files\Created\Today\cmder
test\vendor\msysgit\cmd;D:\My Files\Created\Today\cmder test
vendor\msysgit\share\vim\vim73;
The system cannot find the path specified.
On 11 December 2013 17:18, Samuel Vasko [email protected] wrote:
can you type path and paste the output here? Thanks
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-30328444
.
from cmder.
Tested the version downloaded from Dropbox. Again the launcher is not recognized as a valid Win32 application.
from cmder.
@galli-a That is rather strange, can you give me your computer specs and md5 (or sha) of the .exe? Thanks
from cmder.
mine is md5: 8d073afa242dfa7d018a16a3a010a00a
from the last release
from cmder.
The md5 I get is c97c1ebef2ae8bcda933b460687d1ccd
from the archive @Bliker uploaded on dropbox (cmder_mni.zip
).
The launcher only has 8d073afa242dfa7d018a16a3a010a00a
, that matches yours.
I tested both on a Windows XP 32bit with SP3 (Intel core i5), and on a Windows XP Professional x64 (Intel Xeon), and on both I get the same error: is not a valid Win32 application.
This occours regardless of the presence of spaces in the full path.
from cmder.
I think WIndows XP is the critical part. I will take a look.
from cmder.
Nope, having the same trouble on Windows 7 x64.
I tried running cmder from different directories :
C:\Program Files\cmder\ causes an error because of the space in "Program Files"
C:\GOG Games\cmder\ causes an error because of the space in "GOG Games"
C:\Windows\cmder\ runs
C:\Windows\cmder space\ runs
%PATH% :
λ echo %PATH%
C:\Program Files (x86)\MacType\;C:\Windows\cmder\vendor\conemu-maximus5\ConEmu;C:\Windows\cmder\vendor\conemu-maximus5;C:\Windows\;C:\Windows\System32\;C:\Program Files (x86)\MacType;C:\Windows\cmder\bin;C:\Windows\cmder\vendor\msysgit\bin;C:\Windows\cmder\vendor\msysgit\mingw\bin;C:\Windows\cmder\vendor\msysgit\cmd;C:\Windows\cmder\vendor\msysgit\share\vim\vim73;;C:\Windows\System32\WindowsPowerShell\v1.0;C:\chocolatey\bin
So, it appears that only the first folder causes trouble. Any spaces after that are OK.
from cmder.
@Bliker - for me it works fine now, the path error message had nothing to do with Cmder.
Are you going to link to 1.1.2 from the Cmder homepage? Or is it not considered ready yet? (Asking because am considering a possible review.)
from cmder.
I'd agree with @Bliker, the issue is on Windows XP. I got access to a Windows 7 machine, and tested there. It works fine, regardless of spaces in the path to the launcher.
from cmder.
@ezuk I was waiting for confirmation about new launcher and dependencies. All seems to be clear right now. So in a few days...
from cmder.
Related Issues (20)
- [Bug] Multiple WindowSpace entries each time a new process is hooked with cmder HOT 2
- [Bug] After idling Cmder for a while, ls takes long time to finish HOT 2
- Question: is it possible to auto complete suggestion (grayed out suggestion) HOT 2
- does cmder come packaged with curl and php? HOT 10
- [Bug] Not able to attach to debugger in VS Code Terminal HOT 3
- [Bug] cmder gets stuck on git reflog HOT 9
- 运行总是提示:“此时不应有 D:\Program。” HOT 6
- Aliases not recognized + system can't find path specified HOT 14
- [Bug] problem with "home" and 'end" keys
- [Feature request] Allow terminal to accept and run commands before cmder is fully loaded HOT 5
- [Bug] Shortcuts not work in cmder, and alias names aren't coloured correctly. HOT 6
- Question: How to update curl version in Bash console? HOT 5
- Question: Alias with admin permission
- [Bug] wired color blocks when running a CLI program based on Python and prompt_toolkit in cmder HOT 6
- [Bug] Chinese compatibility problem after resolving Kconfig files HOT 2
- [Feature request] fzf integration
- [Feature request] Update Clink version chrisant996 / v1.6.8 HOT 7
- [Bug] Predefined task: as Admin
- Question: How do I change the route cmder has to find ssh keys? HOT 11
- [Bug] Midnight Commander and msys HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmder.