727 reputation
3926
bio website stackoverflow.com/users/11545
location Bucharest, Romania
age 32
visits member for 4 years, 9 months
seen May 13 at 10:53

C# dweller

profile for Cristi Diaconescu on Stack Exchange, a network of free, community-driven Q&A sites


Apr
23
comment Free network monitor show download/upload speed on system tray
There is a decent built-in network monitor in Windows 7 (probably Vista, too) - although it doesn't show up in the tray. Just Ctrrl-Shift-Esc to bring up Windows Task Manager and go to the 'Networking' tab. OR. Under the 'Performance' tab, click 'Resource monitor'. That brings a comprehensive aggregated view of different performance metrics of the system, including network speeds.
Mar
22
comment Windows Batch - default choice with timeout
I'm not opposed to throwing a vbs script in the %PATH% and using it like a built-in command. But I don't know vbs.
Jan
2
comment How to draw a circle split in 10 slices?
This didn't help broaden my horizons in handling vector image software :-P ... but did the job in an instant!
Jan
2
comment How to draw a circle split in 10 slices?
Inkscape, but it was a bit overwhelming.
May
20
comment Windows: Get duration of video file from command line?
Just found out about this tool on my own :). For the reference, here's the command line that outputs duration in millisesconds: MediaInfo.exe --Output=Video;%Duration% file.avi BTW Running MediaInfo.exe --info-parameters to see what it can output is a bit overwhelming :)
May
5
comment Rotate a MP4 file, while preserving codec and quality attributes
I tried it. First the "stable" version 1.2 - it does not have the Rotate option. The beta 1.2.1b6 does have the option, but it didn't work for me on 1st try and I didn't pursue any further. At least there's nothing to install - just unzip an executable - and it doesn't seem to hae strings (i.e. crapware) attached. It does require a certain version of Quicktime Alternativeto be installed. A link to that is on their site
Apr
30
comment Multi-monitor resolution and position settings lost after reboot
That's pretty much how I felt when I tried it :) I thought I'd pay it forward.
Feb
27
comment Windows 7 filesystem: Flabbergasted - Delete and recreate file: creation time does not change! Why and how to fix?
That's great. I need to learn PowerShell...
Feb
27
comment Windows 7 filesystem: Flabbergasted - Delete and recreate file: creation time does not change! Why and how to fix?
Thanks. However, that answers the how (kind of), but not the why.
Feb
26
comment Windows command-line: How to copy subdirectories, not files, under a given root dir?
It'd be great if you could explain the difference between /F and /D flags (for the sake of completion; I know for /? covers that). More importantly, what does the weird-looking substitution (?) pattern at the end do?
Feb
26
comment Windows command-line: How to copy subdirectories, not files, under a given root dir?
Great explanation. Thanks for taking the time to write it!
Feb
25
comment Windows command-line: How to copy subdirectories, not files, under a given root dir?
I have the broad lines of the question in the title, and the details and disambiguation in the question's body. If you can find a more descriptive (and still succint) title, by all means, edit the title.
Feb
8
comment Portable command-line for syncing Windows OS clock to a NTP server
It's good to hear that :)
Oct
9
comment How to set the default program for opening files without an extension in Windows?
Here's how I set the icon for .txt files for files with no extension (thanks @grawity for the pointer and idea): assoc "No extension"\DefaultIcon=%SystemRoot%\system32\imageres.dll,-102
Oct
9
comment How to set the default program for opening files without an extension in Windows?
OK, one more: in the above example, no_ext is what Windows Explorer will display in the 'Type' column for such files. I think a more readable description would be better, so I used "No extension" , including the double quotes, instead of no_ext in the above commands.
Oct
9
comment How to set the default program for opening files without an extension in Windows?
FWIW, in Win7 you need to run cmd as Administrator
May
29
comment Move files across computers with command line (Windows)
Nice. What I used is:> robocopy src dst /move /e
Aug
31
comment How to delete files in a directory, that exist in another directory?
That's brilliant! Works for few files. I have a problem though: for > ~100 files I get the error "ls: write error: Invalid argument" and only a part of the output is printed (i.e. the last printed line is cut short). ls -1 by itself works just fine. Looks like xargs is reading just a chunk of what ls outputs.
Jul
7
comment Is there something like Command Substitution in WIndows CLI?
Yep, for /f is what I was looking for. Thanks! On a side note: It's so kludgy and hard to remember (compared to the bash way). I should give up "bat programming" and learn something more productive - PowerShell maybe?
Jul
7
comment Is there something like Command Substitution in WIndows CLI?
@Mark That's what time does on Windows...