PAUSE does not work on Windows 8 Batch files - windows-8

I'm transferring some BAT files over to my Windows 8 computer from my Windows 7 Computer. To my surprise, the Pause command does not work. The following BAT file, which I use to review LogCat entries in Eclipse, is an example. How can I Pause in Windows 8?
CD C:\ADTBundle\adt-bundle-windows-x86_64-20130522\sdk\platform-tools>
adb logcat debug:* ActivityManager:E *:s
Pause
EDIT: Ken Wolfe saw fit to remove the Android tag. I'm putting it back on because it appears that the pause does not work on Windows 8 only if we are executing the adb!! So, other Android developers that can't deal with the crappy LogCat window in Eclipse who use Windows 8 should have this problem also (unless I'm the only one).

I use PAUSE everyday on Windows 8 with no such problem. Put a PAUSE as the first line of your bat file and I am sure that will work. Most likely the pause is somehow being intepreted as part of the previous lines. Is there a non-standard EOL involved? In your example... do you really want the ">" at the end of the line?

Related

Problems with Octave on Windows 8: crashes after any error

I have installed (and re-installed) Octave 3 times on Windows 8, and I still can't get it right. The first and most obvious problem is that the prompt is missing; the screen only shows the flashing underscore that follows the prompt. This is not a major problem since the system properly responds to commands.
The major problem is that Octave crashes whenever it encounters a syntax error, instead of politely giving a diagnostic. This makes for extremely tedious software development.
Is there a way around this problem, or do we just have to wait for one side or the other to come up with an accommodation?
I encountered the same problem. I solved it by this:
create a shortcut to octave.exe, then right click->property-> change the "target" to something like:
C:\Program Files\Octave\Octave3.6.*_gcc*.*.*\bin\octave.exe -i --line-editing
Then it won't exit if u have syntax errors.
I don't understand the meaning of the parameters yet.
reference:
http://exciton.eo.yzu.edu.tw/~lab/?p=1121
Type octave --help can check the meaning of parameters.
-i also --interactvie, to force Octave interactive behavior.
Maybe Octave run at non-interactive mode at default, that means prompt should not be shown and it should terminate immediately when encountered error when reading a file.
I don't know if this will solve your problem, or if this is too bloated of a solution for you, but I use Octave on Windows 7 through Cygwin without any problems.
If you can't get Octave to run on Windows 8, you may consider running Octave through Linux via computer virtualization technology (virtual computer). Two, off the top of my head that you could use are VirtualBox by Oracle or VMWare Player
Once you have it installed, you can go to any number of sites that have pre-built Linux images that you can download and then run inside of Windows 8.X. Do a Google search of for 'Virtualbox images' or as 'VMWare appliances'. You can then download and use that to run the lastest version of Octave. I hope that helps.
Cheers,

Windows 8 Console task Command window

I have task setup in Windows 8 that runs after every 5 mins. This is a console exe file which shows Command window if run manually but it also shows command window ever 5 mins when it runs through task scheduler. Is there any setting on Windows 8 which I am not aware to hide the command window. It never happened in Windows 7.
Okay, I found the solution. Changed the User group to System and Checked the checkbox which says to Run task with highest privileges.

Can't execute ISETool.exe from the command prompt (Windows 8)

I'm trying to use the Isolated Storage Explorer tool from Windows Phone SDK in order to retrieve data stored in specific Windows Phone Apps' IsolatedStorage and copy it to a folder that resides in my computer.
My computer runs Windows 8 Pro, and i have both the WP7 and WP8 SDKs installed.
The problem is that when i run the command prompt and insert a command line (such as the one below) i get an error that states:
"This app can't run on your PC"
How do i solve this? Thanks
Example:
ISETool.exe ts xd f8ce6878-0aeb-497f-bcf4-65be961d4bba c:\data\myfiles
I'd suggest you try using the Windows Phone Power Tools instead of what you are doing there. It will give you a nice UI to work with instead of trying to get a command line tool to work.
If you really want to use that tool then please post which directory you are running it from otherwise it is hard to tell why it won't work.

Metro console application in Windows 8

Is there a way to build metro application that runs in console?
There is no console in the "Metro*" interface. There is still a command prompt on the desktop and that has not changed from Windows 7. This is not going to allow you to run a "Metro*" app, however - it is a command prompt.
I think you may need to do a bit of research into what the "Metro*" UI is, and what it is not.
* This UI is no longer called "Metro", but I have referred to it as such to avoid clouding the issue.
You can use a console if you need that in Windows 8, and your console applications will continue to work. But this is not Metro.

how to install XCode 4? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Xcode 4.1 GM Not Installing (must quit iTunes) on Lion?
I've downloaded XCode 4 from the App(le) store and started installation. After approx. 3/4 of the installation process, an installation alert tells to close iTunes. But iTunes is not running and I never run in before after installing a fresh (!) OS X 10.7. When clicking the zoom icon in this alert, it opens iTunes. Closing it does not change anything - the installation does not continue. Rebooting also does not help. What else I can try?
It was (is?) a known problem. Open a terminal and try this:
killall iTunesHelper
open a terminal.
become root with
su
locate the process
ps ax | grep tunes
kill the process with its id
kill -9 <id>
How are you closing iTunes? Are you just clicking the red X in the corner? This does not actually close the application on OS X, you have to go to the menu bar, click on iTunes, then click on Quit (or just hit Command-Q with iTunes in focus). Hope this helps.