Serverfiles read and write

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
PaulR282
Posts: 2
Joined: 01 Feb 2019 20:08

Serverfiles read and write

#1 Post by PaulR282 » 01 Feb 2019 20:13

Hello,
Short question: How can i read and maybe write Files with batch on a Server (own server, full permission)
~Paul

Squashman
Expert
Posts: 4465
Joined: 23 Dec 2011 13:59

Re: Serverfiles read and write

#2 Post by Squashman » 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

PaulR282
Posts: 2
Joined: 01 Feb 2019 20:08

Re: Serverfiles read and write

#3 Post by PaulR282 » 02 Feb 2019 11:39

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

Post Reply