Search found 3 matches

by ytyyutianyun
01 Feb 2013 07:33
Forum: DOS Batch Forum
Topic: [SOLVED]A batch error in importing key{code included}
Replies: 4
Views: 2167

Re: [HELP]A batch error in importing key{code included-2/1/2

Great, You are too smart

Code: Select all

@echo off
cd /d "D:\KeyChecker"
for /f %%i in ('dir /a-d /b *.key') do (
"C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2012\avp.com" addkey %%i
 del /q %%i
        pause
 goto :EOF
)


And it did.

Thank you
by ytyyutianyun
01 Feb 2013 07:21
Forum: DOS Batch Forum
Topic: [SOLVED]A batch error in importing key{code included}
Replies: 4
Views: 2167

Re: [HELP]A batch error in importing key{code included-2/1/2

Try this: I'm assuming your command is correct. Is the key name a short filename? @echo off cd /d "e:\" for /f %%i in ('dir /a-d /b *.key') do ( "C:\Program Files (x86)\Kaspersky Lab\Kaspersky Internet Security 2012\avp.com" addkey %%i del /q %%i pause goto :EOF ) Thank you for ...
by ytyyutianyun
01 Feb 2013 04:34
Forum: DOS Batch Forum
Topic: [SOLVED]A batch error in importing key{code included}
Replies: 4
Views: 2167

[SOLVED]A batch error in importing key{code included}

os windows7 64 the bat is in E:\key and the *.key also And I want to batch to try if this key is okey. But I found An error has occurred and the application will close immediately. Then,help and Thank you MY bat is @echo off for /f %%i in ('dir /a-d /b *.key') do ( path "C:\Program Files (x86)\...