Reputation
392
Top tag
Next privilege 500 Rep.
Access review queues
Badges
4 15
Impact
~37k people reached

Jan
12
comment Feeding multiline input (here documents) to commands in cmd.exe scripts
I am marking your question as an answer since it is apparently the closest you can get in cmd.exe without some serious hacking or external dependencies.
Jan
12
accepted Feeding multiline input (here documents) to commands in cmd.exe scripts
Jan
12
comment Feeding multiline input (here documents) to commands in cmd.exe scripts
Yes, I saw it and it is not really relevant for me. This question on SO is however exactly what I ask for stackoverflow.com/questions/1015163/heredoc-for-windows-batch . Alas, it seems impossible to do in a simple way.
Jan
12
comment Feeding multiline input (here documents) to commands in cmd.exe scripts
Now that I know what they are called, I found a previous question on Stackoverflow: stackoverflow.com/questions/1015163/heredoc-for-windows-batch Too complex for me. Time to switch to another shell/language :)
Jan
12
revised Feeding multiline input (here documents) to commands in cmd.exe scripts
Just learned that they are called "here documents"
Jan
12
comment Feeding multiline input (here documents) to commands in cmd.exe scripts
Thanks! While useful, I would need to provide input via stdin, not as command line arguments. I could pipe the echo command, but then I lose the linebreaks. I also believe there is a limitation on the length of the command line.
Jan
12
asked Feeding multiline input (here documents) to commands in cmd.exe scripts
Jan
11
comment Updating recovery partition in OS X El Capitan
I rephrased the answer to make it clearer that the link provides reference to my claim that recovery no longer needs a partition.
Jan
11
comment Can't access Webserver on port 80 outside LAN
Are you sure your ISP does not filter the port? Or is that what you checked with nmap?
Jan
11
comment Cannot expand/enlarge or add new partition
Try to boot from your recovery partition (if you got one, otherwise you could boot from a USB stick or network) and resize from there. I vaguely remember not being able to resize the partition you booted the OS from, though this was a long time ago and may have changed.
Jan
11
answered How can I make Finder display video file duration?
Jan
11
revised Updating recovery partition in OS X El Capitan
added 657 characters in body
Jan
11
comment Spying on Wi-Fi-connected device from laptop
Why the downvote?
Jan
11
comment Updating recovery partition in OS X El Capitan
I believe that is the answer. You don't recreate the partition. In fact, you no longer need it. You recover directly from the app store. And the link was only provided as reference.
Jan
11
comment Spying on Wi-Fi-connected device from laptop
In this case a badly programmed web radio
Jan
11
answered Updating recovery partition in OS X El Capitan
Jan
11
comment Detect if a photo has been manipulated or faked
With that you might prove that you did have a photo with a certain hash at a given point in time, not that it is not manipulated. The latter would be impossible, just imagine taking a photo of a Photoshop window - how would you prove that to be fake given that the screen is of good enough quality?
Jan
10
comment CPU and Memory Running Well Below Set Clock Speed
Are you sure you are not just seeing the power saving techniques in action? Most system components will clock down when idle so you need to check the system under load
Jan
10
comment how to “trace” a program such as shell?
In that particular case either approach would have worked. My point is that unless you know the mistakes that are in the script, there is really no way of guaranteeing that they would run. Scripts may have valid reasons to do things like overriding socket functions (I have used it myself).
Jan
10
answered how to “trace” a program such as shell?