04-03-2013, 02:10 AM
Hi All,
My requirement is to access a UNC path/network shared location (e.g.: \\ABC\def.jar\lib\), take backup of a file into the same folder with a new name. For this i am using <FileSystemrObject>.CopyFile method, but its throwing run time error - Permission denied. WHen i do the same operation manually i am getting "Do you want to move or copy file from this zone" popup dialog, if i click on yes button, then the backup file gets created.
But how do i handle this in VBscript?
Anyone please help.
Thanks
Sams
My requirement is to access a UNC path/network shared location (e.g.: \\ABC\def.jar\lib\), take backup of a file into the same folder with a new name. For this i am using <FileSystemrObject>.CopyFile method, but its throwing run time error - Permission denied. WHen i do the same operation manually i am getting "Do you want to move or copy file from this zone" popup dialog, if i click on yes button, then the backup file gets created.
But how do i handle this in VBscript?
Anyone please help.
Thanks
Sams