Answer the question
In order to leave comments, you need to log in
How to pass "text/string/data" further?
Decided to play around with PSEXEC.
I run this command:
psexec \\192.168.1.1 cmd /k "cd C:\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security for Windows"
Answer the question
In order to leave comments, you need to log in
Can't run the command immediately without cd?
psexec \\192.168.1.1 cmd /k "C:\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security for Windows\avp.com license /ADD 1111-11111-11111-11111"
psexec \\192.168.1.1 "C :\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security for Windows\avp.com license /ADD 1111-11111-11111-11111"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question