Rename locks file?


i have shortcut in start menu want rename powershell script, , working fine, shortcut no longer works regular users because file "locked." not sure why launching shortcut care, shortcut autodesk product , tend funny things. so, there trick force rename-item cmdlet not lock file? or way force unlock after fact?

thanks!
gordon

hi gordon,

there "-force" parameter in cmdlet "rename-item", if can not work, please post error information in detail troubleshoot.

best regards,

anna wang



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group