Page 1 of 1

Serverfiles read and write

Posted: 01 Feb 2019 20:13
by PaulR282
Hello,
Short question: How can i read and maybe write Files with batch on a Server (own server, full permission)
~Paul

Re: Serverfiles read and write

Posted: 02 Feb 2019 11:27
by Squashman
You can read files using the FOR command and you can write to files by redirecting standard output using the > symbol. One > to create or overwrite a file or two > to append to a file.

We have all kinds of tutorials on the main webpage. I suggest you go through all of them before asking any further questions.
https://www.dostips.com

Re: Serverfiles read and write

Posted: 02 Feb 2019 11:39
by PaulR282
Squashman wrote:
02 Feb 2019 11:27
You can read files using the FOR command and you can write to files by redirecting standard output using the > symbol. One > to create or overwrite a file or two > to append to a file.

We have all kinds of tutorials on the main webpage. I suggest you go through all of them before asking any further questions.
https://www.dostips.com
gonna try it, thanks