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
Post a Comment