File 要通过网络运行cc cleaner-需要一个批处理文件,该文件提示输入计算机名和用户名。
我希望能够在本地计算机上运行.bat文件,以便执行以下命令: PSEXEC\Taylor PC-c“c:\Users\Taylor\Downloads\Clean.exe”-u TaylorGibb–p密码 在哪里 \Taylor PC使用远程计算机的DNS名称File 要通过网络运行cc cleaner-需要一个批处理文件,该文件提示输入计算机名和用户名。,file,batch-file,File,Batch File,我希望能够在本地计算机上运行.bat文件,以便执行以下命令: PSEXEC\Taylor PC-c“c:\Users\Taylor\Downloads\Clean.exe”-u TaylorGibb–p密码 在哪里 \Taylor PC使用远程计算机的DNS名称 TaylorGibb with the username on the remote machine. Password with the password for the remote machine. 基本上,我希望运行脚本的人
TaylorGibb with the username on the remote machine.
Password with the password for the remote machine.
基本上,我希望运行脚本的人能够在远程机器中输入,点击回车,然后点击用户名,点击回车,然后点击密码,点击回车,它就会运行cc cleaner 试试这个:
set/p "password=Enter password: "
echo %password%
set/p "computer=Enter computer name: "
echo %computer%
问之前你有没有在谷歌上搜索过或尝试过什么?我有,但我对这件事很感兴趣。新的脚本。谢谢。我将如何将其合并到我现有的脚本中?抱歉,我是新手。要回答这个问题,我们必须知道现有的脚本。