URL's to .txt file
Posted: 10 Feb 2021 04:49
Hi! (sry for my english)
i'm a newbie in batch..
how to write links to a .txt file line by line?
i use "copy" but this is not a good way bc output i get this line too "0 file(s) copied."
.bat file
https://www.dostips.com
https://google.com
this is possible in batch?
i don't want to use other .exe to do this (xcopy, robocopy, bitsadmin .....etc)
i'm a newbie in batch..
how to write links to a .txt file line by line?
i use "copy" but this is not a good way bc output i get this line too "0 file(s) copied."
.bat file
adress.txt@echo off
title Link's to txt file
REM for accent links
chcp 65001 > NUL
:LINK
set /p url="URL: "
copy "%url%" >> adress.txt
GOTO :LINK
i wanna to see in txt file just the links
https://www.dostips.com
https://google.com
this is possible in batch?
i don't want to use other .exe to do this (xcopy, robocopy, bitsadmin .....etc)