//
you're reading...
Folder Path, NAS, NAV, NAV 2009 R2, Uncategorized

Creating a File through NAS in Local,Shared Folder

// Write to a local hard drive MyFile.CREATE(‘<LocalDrive>:\NAStestLocal.txt’); MyFile.WRITE(‘Hello Mike!!!’); MyFile.CLOSE; COMMIT;

// Write to a shared folder MyFile.CREATE(‘\\SharedDriveName\Sharedfolder\NAStestSharedCompName.txt’); MyFile.WRITE(‘Hello Mike!!!’); MyFile.CLOSE; COMMIT;

// Write to a shared VPN folder MyFile.CREATE(‘\\192.168.1.13\d$\Navision\Import\NAStestSharedIP.txt’); MyFile.WRITE(‘Hello Mike!!!’); MyFile.CLOSE; COMMIT;

Reference:

http://www.mibuso.com/forum/viewtopic.php?f=23&t=8582&hilit=folder+path+for+nas

About Varun Ambidi

This is Varun Babu Ambidi, Dynamics NAV Fanatic and Learner.

Discussion

No comments yet.

Leave a comment