Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


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