Reputation: 3585
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).
Upvotes: 1
Views: 1612
Reputation: 4750
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?
Upvotes: 1