Wilson WindowWare Tech Support

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


How to do a FileCopy to a Null device

Keywords:     filecopy null device

Question:

How can I copy a file to a nul device?

I am trying to time how long a file takes to copy across the network. I don't want to save the file on the local drive because this will add local performance of the hard disk into the results.

Answer:

Here's how to do it:
      FileCopy("C:\config.sys","NUL",0)

Article ID:   W13065
Filename:   FileCopy to a Null Device.txt