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

Functions

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

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
File Created: 1999:04:15:16:51:30
Last Updated: 1999:04:15:16:51:30