Saving source of website in a txt file
Posted: 24 Mar 2009 11:39
I want to make a batch that saves the source of a website in a text file, i know how to save stuff in a text file though. I have tried:
These to lines needs to be replaced to something working. Any help?
Thanks!
Code: Select all
@echo off
title Source to txt by cc2
cls
echo The source will be placed in the same folder as this batch file is in.
set input=
set /p input=Enter the website you wish to get source from:
start firefox "%input%" /h <- that opens the website hidden
read %input% as %source% <- that wasn't working, was suppost to make website to %source%
echo %source% > source.txt
These to lines needs to be replaced to something working. Any help?
Thanks!