682 reputation
3919
bio website stackoverflow.com/users/11545
location Bucharest, Romania
age 32
visits member for 4 years, 7 months
seen 2 days ago

C# dweller

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


Nov
14
answered Adobe-reader double-page layout like a book
Oct
15
awarded  Notable Question
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
Oct
5
awarded  Popular Question
May
29
comment Move files across computers with command line (Windows)
Nice. What I used is:> robocopy src dst /move /e
May
29
accepted Move files across computers with command line (Windows)
May
29
asked Move files across computers with command line (Windows)
Apr
22
awarded  Yearling
Apr
9
asked Search for multiple keywords in Picasa
Jan
7
answered What is CAM XVID?
Dec
17
awarded  Popular Question
Nov
9
awarded  Notable Question
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.
Aug
31
asked How to delete files in a directory, that exist in another directory?
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
accepted Is there something like Command Substitution in WIndows CLI?
Jul
7
comment Is there something like Command Substitution in WIndows CLI?
@Mark That's what time does on Windows...
Jun
20
awarded  Notable Question