且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在启动时启动.bat文件

更新时间:2023-01-23 11:21:06

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


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