📜  错误:EPERM:不允许操作,复制文件 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:43.400000             🧑  作者: Mango

代码示例1
fs.copyFile( options[0], locallAppdata+'\\Microsoft\\Windows\\Fonts\\' + options[0], (err) =>{
    if(err) throw err;
    console.log( options[0] + " was copied ");
}); //I added file name to path destination