mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	open cmder in the current working dir as every other windows app works (#1725)
open cmder in the current working dir as every other Windows app works
This commit is contained in:
		
				
					committed by
					
						 Benjamin Staneck
						Benjamin Staneck
					
				
			
			
				
	
			
			
			
						parent
						
							afb8f52516
						
					
				
				
					commit
					19bad7dfa9
				
			| @@ -208,13 +208,6 @@ void StartCmder(std::wstring  path = L"", bool is_single_mode = false, std::wstr | ||||
| 		PathCombine(conEmuPath, exeDir, L"vendor\\conemu-maximus5\\ConEmu.exe"); | ||||
| 	} | ||||
|  | ||||
| 	if (streqi(cmderStart.c_str(), L"")) | ||||
| 	{ | ||||
| 		TCHAR buff[MAX_PATH]; | ||||
| 		const DWORD ret = GetEnvironmentVariable(L"USERPROFILE", buff, MAX_PATH); | ||||
| 		cmderStart = buff; | ||||
| 	} | ||||
|  | ||||
| 	if (is_single_mode) | ||||
| 	{ | ||||
| 		if (!streqi(cmderTask.c_str(), L"")) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user