PS C:\Users\haoidc> if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16"
At line:1 char:3
+ if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "% ...
+ ~
Missing '(' after 'if' in if statement.
+ CategoryInfo : ParserError:
) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingOpenParenthesisInIfStatement
PS C:\Users\haoidc> if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16"
At line:1 char:3
+ if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd ...
+ ~
Missing '(' after 'if' in if statement.
+ CategoryInfo : ParserError:
) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : MissingOpenParenthesisInIfStatement
PS C:\Users\haoidc> cscript.exe OSPP.vbs /actcid:396006241041048655934790939576596793625596362890
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Input Error: Can not find script file "C:\Users\haoidc\OSPP.vbs".
PS C:\Users\haoidc> cscript.exe OSPP.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Input Error: Can not find script file "C:\Users\haoidc\OSPP.vbs".
Thầy ơi giúp em với, em lấy được CID rồi nhưng chạy CMD thì báo lỗi vậy
Em cảm ơn ạ !!!