---
title: "一些P处理简单应用"
author: "那夜温柔低调"
date: "2012-08-09T10:10:57Z"
tags: ["P处理", "任务计划", "始终同步", "定时执行"]
categories: ["操作系统"]
slug: "p"
draft: false
lastmod: "2012-08-09T10:10:57Z"
id: 1626341
url: "https://jzlsoft.iteye.com/blog/1626341"
---

net time \\10.103.8.33 /set /y 设置 时钟同步机器局域网

---------------------------------------------------
可以定时启动一个 指定程序。也可以添加windows，任务计划
@echo off

:main
::关闭程序

taskkill /F /IM 取色器.exe
echo 程序关闭

::延时
ping localhost -n 5 >nul

::启动
start "test" "d:\取色器.exe"

::延时
ping localhost -n 5 >nul

exit
-------------------------------------------------------