What does ECHO .> mean in batch file?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Suho
Posts: 1
Joined: 22 Oct 2014 11:02

What does ECHO .> mean in batch file?

#1 Post by Suho » 22 Oct 2014 11:12

Hi,
I have a batch file with the following code within: ECHO .> C:\file.txt

I read about ECHO ad understand what it is used for, but what I do not know is what are the characters used for after the word echo .> and what is the use of the path of file after that. Thanks in advance for any help!

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

Re: What does ECHO .> mean in batch file?

#2 Post by Squashman » 22 Oct 2014 11:36

Creates a new file with Carriage Return Line Feed pair.

Try it out and open it up with a program that can show you the Hex Codes.

Post Reply