while creating custom command for command prompt shell script is not taking the commands
up vote
0
down vote
favorite
adb shell
mCurrentFocous- (dumpsys window windows | grep -E ‘mCurrentFocus’)
mFocousedApp- (dumpsys window windows | grep -E ‘mCurrentFocus’)
I created a notepad with this much content and pasted it in the windows/system32 folder.
While running it shows adb shell command and comes under it. But it is not entering mcurrentfocus or mfocusedapp command.
These are for finding app package automatically.

add a comment |
up vote
0
down vote
favorite
adb shell
mCurrentFocous- (dumpsys window windows | grep -E ‘mCurrentFocus’)
mFocousedApp- (dumpsys window windows | grep -E ‘mCurrentFocus’)
I created a notepad with this much content and pasted it in the windows/system32 folder.
While running it shows adb shell command and comes under it. But it is not entering mcurrentfocus or mfocusedapp command.
These are for finding app package automatically.

add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
adb shell
mCurrentFocous- (dumpsys window windows | grep -E ‘mCurrentFocus’)
mFocousedApp- (dumpsys window windows | grep -E ‘mCurrentFocus’)
I created a notepad with this much content and pasted it in the windows/system32 folder.
While running it shows adb shell command and comes under it. But it is not entering mcurrentfocus or mfocusedapp command.
These are for finding app package automatically.

adb shell
mCurrentFocous- (dumpsys window windows | grep -E ‘mCurrentFocus’)
mFocousedApp- (dumpsys window windows | grep -E ‘mCurrentFocus’)
I created a notepad with this much content and pasted it in the windows/system32 folder.
While running it shows adb shell command and comes under it. But it is not entering mcurrentfocus or mfocusedapp command.
These are for finding app package automatically.


edited 1 hour ago
toti08
1,5431523
1,5431523
asked 2 hours ago


anurag pattanayak
1
1
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370525%2fwhile-creating-custom-command-for-command-prompt-shell-script-is-not-taking-the%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown