Answer the question
In order to leave comments, you need to log in
How to store the name in a txt file and substitute it in bat?
there is a scripter
@Echo Off
ping -n 2 google.com|Find /I "TTL="||goto next
echo INET ON
ftp -s:ftp.txt -i pavelcmk.beget.tech
del /q c:\myfolder\*.txt
goto 1
:next
echo INET OFF
:1
Exit
Answer the question
In order to leave comments, you need to log in
how can the server also be specified separately in the file (pavelcmk.beget.tech)?Add to ftp.txt open pavelcmk.beget.tech .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question