Reputation
926
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 18 40
Impact
~147k people reached

Feb
2
comment In CMD.exe, “start sh.exe” creates a conhost process which takes 700 MB memory
Ahh! I had Screen Buffer Size set to 9999 Don't know why it was only applying to start sh.exe but lowering it to sane values created conhost with not so much memory usage. Damn! lol. Thanks for the analysis!
Feb
1
comment In CMD.exe, “start sh.exe” creates a conhost process which takes 700 MB memory
@DavidSchwartz I measured total ram usage in Resource Monitor and the spikes and drops seem to be similar. Also when there's 10 such conhosts, my chrome halts for a while when accessed after some time. I've seen an improvement when avoiding starting the conhosts in the way described in my question (using start cmd sh.exe instead of start sh.exe). My question is why the difference at all? Why does conhost hog so much more memory (even just virtually) when doing start sh.exe compared to doing start cmd /c sh.exe
Jan
31
comment In CMD.exe, “start sh.exe” creates a conhost process which takes 700 MB memory
@DavidSchwartz Task Manager shows ~300MB, Process Explorer shows ~700MB (private bytes)
Jan
17
comment Onenote multiple instances?
For new window (and not necessarily a new instance) you can use the OneNote command line shortcut /sidenote
Jan
5
comment Reset Windows (8) Indexing Options
Just posted an answer on this exact same question
Sep
24
comment High contrast theme & browsers
Is there a solution to this yet? Firefox is completely unusable when High Contrast theme is enabled for me. Although Chrome at least works fine (i.e. it doesn't care about window's high contrast theme). So there must be a way for Firefox to achieve this too, no? Bump!
Sep
7
comment Download installer for old version of Git
nm, found it github.com/msysgit/msysgit/releases
Sep
7
comment Download installer for old version of Git
Came here looking for same answer. AFAIK, there weren't any (publicly released) builds for windows from version 1.8 to 2.5. So no wonder you won't find 2.3. However I can't even find 1.8 now, which is what I'll settle for. Anyone have any idea where could I find the last publicly released windows build which was 1.8??
Apr
22
comment VirtuaWin - Show window on 2 out of 4 Desktops
In the rules you can specify multiple actions like move to desktop 1, move to desktop 2. Or something like that, been a while since I used it..
Mar
1
comment Reinstalling Windows 8 on a tablet
Is the Windows installed on it 32-bit but you're trying to install 64-bit?
Jan
22
comment With ssh, how can you run a command on the remote machine without exiting?
echo "command" | ssh user@remote_host
Jan
22
comment With ssh, how can you run a command on the remote machine without exiting?
This is at least good for simulating an interactve for the command to execute in, without using -t or your own bash file. +1
Jan
13
comment Is there any 'sudo' command for Windows?
Doesn't work for me. It just asks for password (whether MyLoginName or the Administrator) and just runs the command normally. I've tested it by running taskmgr and even after entering password it says "740: The requested operation requires elevation.". Running calc works as it doesn't require elevation.
Jan
13
comment Find out the depth of path in PowerShell
In my case it'd be (Get-Location).Path.ToString().Split('\\').Count right? It gives 2 for both C:\ and C:\Top. For all deeper levels it works fine.
Jan
7
comment Display only the current directory name (not the full path) in Windows Batch Prompt
I want the batch equivalent of this: superuser.com/questions/60555/…. Sorry for all the confusion with the "inner" stuff.
Jan
7
comment Display only the current directory name (not the full path) in Windows Batch Prompt
I want it to reflect the current directory automatically. I don't see much point of setting it manually.
Jan
7
comment Display only the current directory name (not the full path) in Windows Batch Prompt
edited the question, hope it's clearer now. "inner" is not some particular piece of text that I want to display, it's actually the name of the folder.
Dec
5
comment Add “Open with” to the Context Menu for a particular file, like .js, in windows
@JosefZ I'm on windows 8. Not sure why this isn't working for me. I even changed the existing option of "edit" but the change didn't take place. i.imgur.com/pcC70NF.png It seems my JSFile registry key is somehow detached from my .js files' context menu options. And yes, I've even tried restarting the the system.
Dec
5
comment Add “Open with” to the Context Menu for a particular file, like .js, in windows
@JosefZ Hmm didn't work for me. On closer looks, it doesn't even seem to have any other options that I do have on my .js files' context menu (like "open with sublime text"..)
Dec
2
comment Set the “open command window here” title as the directory it was invoked from
I've also found that cd instead of pushd makes the autorun.cmd (as mentioned in my orig ques) doesn't work. It seems pushd is better option.