Reputation
1,256
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 9
Newest
 Yearling
Impact
~235k people reached

Jul
14
answered Powershell Switch statement with multiple values
Jul
13
comment SQL, pl/sql, sqlplus: how to return a variable to DOS batch file?
weji: It's not a DOS batch file unless you happen to run it in command.com. cmd.exe uses a superficially similar syntax but is much more powerful with many extensions. They are not the same and somewhere a kitten dies every time someone calls Windows batch files DOS batch files.
Jul
13
comment SQL, pl/sql, sqlplus: how to return a variable to DOS batch file?
Note that this is not DOS. I'd edit your post if I had sufficient rep.
Jul
3
comment How to make Batch-file automatically stop on error
Ah, well that syntax errors cause malfunction is hardly unexpected, isn't it? ;-)
Jun
28
comment How can I run a command window hidden or minimised?
Taken a look at Start-Process?
Jun
27
comment How can I run a command window hidden or minimised?
Why do you even run a PowerShell script by calling cmd which then starts PowerShell? That sounds like at least two levels of indirection too much.
Jun
27
comment How do I run a powershell with a Windows form at logon / startup?
@Goyuix: They asked about Windows 7 where PowerShell 2 is installed by default.
Jun
26
answered How do I run a powershell with a Windows form at logon / startup?
Jun
18
comment Query schtasks using Powershell
You're on the right track but writing to a temporary file is unnecessary here: schtasks /query /fo csv /v|convertfrom-csv works just fine
Jun
18
comment Query schtasks using Powershell
What's with the backslashes in there? I'm fairly sure that's not what schtasks expects there, but rather a forward slash.
Jun
6
comment Windows command line built-in compression/extraction tool?
@jishi: Won't help you much in creating a ZIP file, though. That's just for compressing a stream; you would still have to fit some metadata in there somewhere.
Jun
6
answered Need leading zero for batch script using %time% variable
May
30
comment Is it possible to eliminate the console flicker when opening the PowerShell ISE?
@Matt: I'm pretty sure that's what they meant.
May
30
comment PowerShell: How to customize prompt?
A note to add: You can do pretty much anything in your prompt function, including colorized output (with Write-Host), &c. However, keep in mind that it must return something. If you only do Write-Host -Fore Green -no "PS $pwd> " in there you'll get a prompt like PS Home:\> PS> since PowerShell assumes that an empty prompt wasn't what you meant. In those cases you can output a character more than needed and return "b"` (the backspace character).
May
28
comment Launch different Powershell console from a console?
The console background color is tied to the shortut that started the process. Since you're using Start-Process you launch the actual executable instead of the shortcut you don't get the background color or the other settings that are set via the shortcut. No good idea how to circumvent that.
May
23
answered Launch different Powershell console from a console?
May
19
answered windows-server-2003, windows server, download utility from command line , http or ftp or any other protocol , from one command only
May
7
comment Spaces in SETX PATH command
@Jeremy: Just see it as kind of a better Brainfuck esolang. It's more fun that way :)
May
5
revised Spaces in SETX PATH command
added 1121 characters in body
May
4
answered Spaces in SETX PATH command