Get the App
SLTechnology News&Howtos  ›  Development  › 

How to implement Rcmd.vbs remote script

Shulou Source: shulou.com Published: 2022-06-03 06:05:20 11月17日 Update

This article mainly introduces how to achieve Rcmd.vbs remote script, the article is very detailed, has a certain reference value, interested friends must read it!

The code is as follows:

On Error Resume Next

Set outstreem=Wscript.stdout

If (LCase (Right (Wscript.fullname,11)) = "Wscript.exe") Then

Set objShell=Wscript.CreateObject ("Wscript.shell")

ObjShell.Run ("cmd.exe / k cscript / / nologo" & Chr (34) & Wscript.ScriptFullName&Chr (34))

Wscript.Quit

End If

If Wscript.arguments.Count

Tags: Scripts content articles code value interests guys buddies more knowledge industry information information channels channels references help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Xiaomi Huawei macOS NVidia