Hi,

I'm having a problem calling a network drive as a computer name for file I/O.

It works ok if I specify a drive letter with the path - eg. ofstream fp("g:\\dir1\\dir2\\stuff.txt", ios::app);

But not working if i do this: ofstream fp("tdrscr123:\\dir1\\dir2\\stuff.txt", ios::app);

Any ideas? anything will be helpful.

Thanks!