Search found 10 matches

by stts1
14 Feb 2025 23:43
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

Yup, its working great with CD win10 and I been mass renaming ton of files with great success. Here is an update to the mask that incorporates all the newer Web related files I been getting. The ordering of items to be renamed is very important or unintended results that are harder to correct occurs...
by stts1
27 Jan 2025 12:16
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

Ok, it works and does everything that I was expecting it to do. The problem has been some screw up in my windows 7 setup. I booted Win10 mini from an uncorruptible CD and the scripts renamed directories with no sweat. Since it was repeatable as I went back and forth replacing "." with &quo...
by stts1
26 Jan 2025 18:58
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

Yea, I'm a little of everything but not a lot of anything. I made my living with Machine code, C++, and ladder logic. Scripting is no sweat, but I don't know all the syntax. But, yea for like 10 years I been adding "years" to my mask file. I haven't been cleaning for years and now I got a ...
by stts1
26 Jan 2025 18:26
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

01. Begin the script with: setting "BackgroundFileOps", 0; 02. The text ... line at the end does NOT have the string These items could not be renamed: in it after running it? 03. Show a demo folder structure (with the least amount of files / folders) wich which your script fails so that i...
by stts1
26 Jan 2025 18:16
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

These line strings below are text items to change or remove from file names to shorten them. Make changes to both files and folders. Copy Paste each line of items one line at a time into XYplorers "enter String to remove" scrypt prompt and press ok to execute one line at a time. Turn off w...
by stts1
26 Jan 2025 17:53
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

Oh yuck. Code doesn't post very pretty here. Anyways, I'm making progress. The whole thing works ONCE. Then all the directories is accessed are left locked. So It doesn't work again without running that IOBit Unlocker tool. Not sure why all the directories are left locked. I been renaming folders on...
by stts1
26 Jan 2025 12:21
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

Ok, did a little more with it. RenameItem within a Foreach loop only accesses the very last directory in any path. I made more test directories with very simple names and got the same access denial failure. So it's not a funny character issue. I have code that parses out the directories individually...
by stts1
25 Jan 2025 22:46
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Re: Renaming Folder with RenameItem - Access Denied

So in case there were invisible attribute access issues, I created another test directory on another drive and got the very same results. Access denied. I typed that script command by hand just as it is without any other code and the directory was renamed without any problem. So there is nothing fun...
by stts1
25 Jan 2025 11:36
Forum: Script Exchange
Topic: Renaming Folder with RenameItem - Access Denied
Replies: 15
Views: 14527

Renaming Folder with RenameItem - Access Denied

Yup, not sure what the problem is. I renamed a child folder just fine. But when renaming the parent folder, it refuses. There is nothing accessing the disk other than XYplorer. I'm replacing "." with "_" and it works fine with the child folder. And the parent is a child of still ...