UNC file problem on scheduled java agent

We have a problem with a scheduled agent that is running on some of our servers. It detaches a file from an email and copies it to a file on a network drive. The dir is specified using UNC as follows:-

if ( doc != null ) {

/*

Check that EDI folder exists

*/

String dirstr = “file:\\dasfsvr1systems\dbtest\”;

File edidir = new File( dirstr );

if ( !edidir.isDirectory() ) {

processed = processed + edidir.getAbsolutePath() + " is NOT a valid directory." + “\n”;

The error is being received with message

“\dasfsvr1\systems\dbtest is NOT a valid directory.”

This agent has been working but has seemingly stopped for no reason. The notes servers are not running as services.

Strangely it seems to erun ok on our 6.5 servers but not on the 6.02 servers(but again has in the past).

Any help appreciated!