在启动时启动.bat文件 [英] Launch a .bat file at the boot

查看:123
本文介绍了在启动时启动.bat文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个程序,在我的FTP中上传了一个文件,所有10个:


文件.bat:


@echo off

:boucle

ftp -s:C:\ Users \AdminSTER \Desktop\bat.txt

timeout / t 10

goto boucle


文件.txt:


打开ftp.projetsin-reco.esy.es

u225855039

twilight15

bin

cd / public_html / historique /

lcd lcd C:\\ \\ data\Users\DefaultAccount\Pictures\historique

put archive.txt

退出


他在我的计算机上工作但是Windows 10 IOT中的启动文件夹在启动时启动我的程序在哪里?谢谢

解决方案

您需要按计划任务启动它,但是您需要检查所有命令是否真的可用


Hi, i have made a program who upload a file in my FTP all the 10s:

File .bat :

@echo off
:boucle
ftp -s:C:\Users\AdminSTER\Desktop\bat.txt
timeout /t 10
goto boucle

File .txt :

open ftp.projetsin-reco.esy.es
u225855039
twilight15
bin
cd /public_html/historique/
lcd lcd C:\Data\Users\DefaultAccount\Pictures\historique
put archive.txt
quit

He works on my computer but where is the startup folder in windows 10 IOT to launch my program at the boot ? Thanks

解决方案

you need to launch it as scheduled task but you need to check if all your commands are really available


这篇关于在启动时启动.bat文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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