---
title: "使用bat文件实现Windows启动后延迟指定秒数后启动程序"
author: "asjava"
date: "2017-02-21T09:52:07Z"
tags: []
categories: ["操作系统"]
slug: "bat-windows"
draft: false
lastmod: "2017-02-21T09:52:07Z"
id: 2358187
url: "https://asjava.iteye.com/blog/2358187"
---

bat文件的内容：

 

rem 参数"/t"后面是延迟的秒数

choice /t 30 /d y /n &gt; nul 

rem start命令的第一个参数是title，这里置为空

start "" "D:\\Program Files (x86)\\Net\\360\\360WangPan\\360WangPan.exe"