hi dears.
my example folder1 folder2 folder3 folder4 etc...
i select folders and i want to move to c:\target if content desktop ini ?
how can i do?
example content desktop ini ,, folder 1 folder 3 .. move to folder 1-3 moveto c:\target.
sincerely
possible selected folders if content desktop.ini ?
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
possible selected folders if content desktop.ini ?
newbie or not...........
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: possible selected folders if content desktop.ini ?
Code: Select all
setting "BackgroundFileOps", 0;
foreach($folder, "<get SelectedItemsPathNames |>") {
if (regexmatches(listfolder($folder, , 1), "desktop\.ini")) {
moveto "C:\target", $folder, , 2;
}
}
One of my scripts helped you out? Please donate via Paypal
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
Re: possible selected folders if content desktop.ini ?
great thank you dear big coder....

newbie or not...........
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
Re: possible selected folders if content desktop.ini ?
great work but how set for subfolder ?
example folder 01 ... sub folder 01 (desktop.ini) ...
how can add subfolder option???
thanks..
example folder 01 ... sub folder 01 (desktop.ini) ...
how can add subfolder option???
thanks..
newbie or not...........
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: possible selected folders if content desktop.ini ?
use a quicksearch() instead of listfolder()?
One of my scripts helped you out? Please donate via Paypal
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
Re: possible selected folders if content desktop.ini ?
im newbie coder , an example please
ofcourse , if you do not mind ..
thanks for support.
Sincerely.
ofcourse , if you do not mind ..
thanks for support.
Sincerely.
newbie or not...........
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
Re: possible selected folders if content desktop.ini ?
?*desktop.ini* /p i tried...
but select subfolder no select up folder....
but select subfolder no select up folder....
newbie or not...........
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: possible selected folders if content desktop.ini ?
No clue what you're talking about.
If you do not want to copy the root folder but instead check every subfolder for a desktop.ini file (and only copy those subfolders), use a quicksearch() for subfolders inside each root folder and a new foreach loop to copy only those which contain that file.
If you do not want to copy the root folder but instead check every subfolder for a desktop.ini file (and only copy those subfolders), use a quicksearch() for subfolders inside each root folder and a new foreach loop to copy only those which contain that file.
One of my scripts helped you out? Please donate via Paypal
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
Re: possible selected folders if content desktop.ini ?
dear sorry my bad english.
for good understand .. i draw grapics
)
http://prntscr.com/9jfut1
now can u understand me dear?
clue good
)
for good understand .. i draw grapics
http://prntscr.com/9jfut1
now can u understand me dear?
clue good
newbie or not...........
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: possible selected folders if content desktop.ini ?
Again, just use the appropriate quicksearch() command instead of the listfolder() one...
One of my scripts helped you out? Please donate via Paypal
-
drjs5x
- Posts: 153
- Joined: 18 Nov 2015 18:12
- Location: Turkey
XYplorer Beta Club