[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

How do I create an empty file?

Posted on 2004-10-25
3
Medium Priority
?
1,193 Views
Last Modified: 2008-02-01
I need to know the dos command to create create an empty file?

0
Comment
Question by:seckel
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
ADSaunders earned 2000 total points
ID: 12399803
Hi seckel,
copy nul file.txt

Regards .. Alan
0
 
LVL 10

Expert Comment

by:ADSaunders
ID: 12399809
seckel,
where file.txt is the file name (or full path) that you wish to create.
.. Alan
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 12411737
Or, an easier to under 'why' solution:

echo. > fileName.txt

:)
gL,
[r.D]
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Suggested Courses
Course of the Month9 days, 1 hour left to enroll

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question