重启后自动运行我的exe [英] Automatic Run My exe after restart

查看:98
本文介绍了重启后自动运行我的exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的bat文件代码:



@ECHO OFF

set FolderPath =C:\ ForSSSSetupNeed



如果存在C:\ FORAFCSSetupNeedsetup.exe



如果不存在C:\ ForSSSSetupNeed (

mkdir c:\ ForSSSSetupNeed

abc.bat

ECHO GELLO

shutdown -r / t 00

setup.exe



PAUSE



亲爱的
当我点击我检查的bat文件时,是C:\ ForSSSSetupNeed文件退出。

如果不退出则调用abc.bat然后重启我的电脑。

我想再次我的电脑自动启动它调用setup.exe(我的开发软件)

我的CD中的所有文件(Bat文件,exe文件)。我能做什么?

请帮帮我

This is my bat file code:

@ECHO OFF
set FolderPath="C:\ForSSSSetupNeed"

IF EXIST "C:\ForAFCSSetupNeed" setup.exe

IF NOT EXIST "C:\ForSSSSetupNeed" (
mkdir c:\ForSSSSetupNeed
abc.bat
ECHO GELLO
shutdown -r /t 00
setup.exe
)
PAUSE

Dear
when i click my bat file it check ,Is C:\ForSSSSetupNeed file exits.
if not exits it call abc.bat then restart my PC.
I want when again my PC Start it automatically Call setup.exe(my one develop software)
All file(Bat file ,exe file both) in my CD.What can i do that ?
Please help me

推荐答案

你可以试试 RunOnce [ ^ ]注册表项以启动安装程序。



问候,

- Manfred
You may try the RunOnce[^] registry key to start your setup program.

Regards,
— Manfred


这篇关于重启后自动运行我的exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆