If you ran this from within VNL (by dropping the script on the Job Manager), the NetCDF file will be created in the system temp directory. This is why the tutorials stress to use an absolute path (like c:/vnl/file.nc).
On Windows the temp directory is C:\Documents and Settings\<username>\Local Settings\Temp, on Linux it's /tmp.