Reputation
718
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
13 30
Newest
 Yearling
Impact
~90k people reached

2d
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.
Nov
21
comment VirtuaWin - Show window on 2 out of 4 Desktops
Dexpot does this, if you're looking for an alternative to VirtuaWin.
Nov
17
comment Set the “open command window here” title as the directory it was invoked from
@JosefZ I tested it out and it seems it has to be %V, %1 or %CD% don't work. cmd.exe /D /K cd /D "%V" && for /F "tokens=*" %%G in ("%V") do @title %%~nG%%~xG. Thanks for making the directories with spaces work.
Nov
17
comment Set the “open command window here” title as the directory it was invoked from
Hmm. I tried it and it didn't work. Then I searched regedit for "cmd.exe /s /k pushd "%V"" and found a couple of entires, some of which I was unable to edit (some error). That was the one I finally edited and it worked. Maybe it's only for my case, I do have some setting enabled so I don't have to hold shift to get the "open command window".
Nov
17
comment Set the “open command window here” title as the directory it was invoked from
Thank you!!! Two things: In my case it was HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd\command. And: It ignores spaces (It gives title "Folder" for "New Folder")
Nov
3
comment What Tiling Window Manager for Windows do you recommend?
+1 AquaSnap (not in answer but in the wikipedia list)
Nov
3
comment What Tiling Window Manager for Windows do you recommend?
It is discontinued.
Sep
20
comment Is there a way to assign keys in the command pallet list to jump to desired item instead of the default item in sublime text?
@sww1235 I don't understand how? Here I'm asking whether (and if so how) it's possible to go directly to "Git: Graph All" from the command pallet itself. That other question is about the command so it can be assigned as a keyboard shortcut, without the use of command pallet altogether. But if there's any relation in the two questions that I'm not seeing, please let me know by elaborating..
Sep
18
comment Does bash have a hook that is run before executing a command?
Ah, nm. It works when I put all that in a function and just call that.