WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Create a Zero K file

 Keywords: create a 0 byte file 

Question:

Can WinBatch be used to create a 0 byte file? I know I can do this in DOS but I was wondering if I could use WinBatch and NOT use the CMD call within WinBatch.

Answer:

YES.
handle=FileOpen("DaFile.txt","Write")
FileClose(handle)

Article ID:   W14853
File Created: 2001:11:08:12:40:32
Last Updated: 2001:11:08:12:40:32