Create an empty text document?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Eagle710
Posts: 19
Joined: 29 Mar 2009 17:27

Create an empty text document?

#1 Post by Eagle710 » 21 Jul 2009 06:25

Does anyone know how to create an empty text document title "Process101.txt"? I dont want to open the text editor just create the document.

Eagle710
Posts: 19
Joined: 29 Mar 2009 17:27

#2 Post by Eagle710 » 21 Jul 2009 06:43

The way I managed to do it was :

Code: Select all

type nul > Process101.txt

RElliott63
Expert
Posts: 80
Joined: 04 Feb 2009 10:03

#3 Post by RElliott63 » 21 Jul 2009 16:25

Echo > FName.ext ; will create and/or replace any current document with that name

Echo >> FName.exe ; will append data to the current document with that name

Post Reply