制作脚本文件下载& Excutue

时间:2016-05-26 11:45:44

标签: java batch-file vbscript

是否有可下载并执行exe文件的脚本(vbs,js,bat等)?

  1. 你在硬盘上打开脚本。
  2. 脚本下载exe文件
  3. 然后执行文件
  4. 感谢。

1 个答案:

答案 0 :(得分:1)

int defaultGroupId = 1;
int groupId = defaultGroupId;
if (Request.Cookies["selectBoxValue"] != null) {
    var parsed = Int.TryParse(Request.Cookies["selectBoxValue"].Value, out groupId);
 if (!parsed) {
   // the incoming cookie value wasn't an integer or couldn't be parsed to integer. In this case do you want to set it to an appropriate value (say whatever comes out of your query?
 }
//At this point you either have a valid `groupId` or you have your `defaultGroupId` so you can use `groupId` normally.

下载并运行Microsoft安全扫描程序(适用于Vista 32位)。