I have this script
copyto "c:\atalhos","C:\Users\jose.nunes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\*.lnk|C:\ProgramData\Microsoft\Windows\Start Menu\Programs\*.lnk",,1,2,1,,0,1,1,,1,;
But it doesn't include all subfolders of the source paths. How can I include existent subfolders?
copyto command question
-
highend
- Posts: 15004
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: copyto command question
Use a quicksearch() for these two folders instead?
One of my scripts helped you out? Please donate via Paypal
-
jcmn
- Posts: 179
- Joined: 18 Sep 2007 11:34
- Location: portugal
Re: copyto command question
And then how do I copy the result?highend wrote:Use a quicksearch() for these two folders instead?
-
highend
- Posts: 15004
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: copyto command question
Mh?
Untested:
Untested:
Code: Select all
copyto "c:\atalhos",quicksearch("*.lnk", "C:\Users\jose.nunes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs|C:\ProgramData\Microsoft\Windows\Start Menu\Programs", "|"),,1,2,1,,0,1,1,,1,;
One of my scripts helped you out? Please donate via Paypal
-
jcmn
- Posts: 179
- Joined: 18 Sep 2007 11:34
- Location: portugal
Re: copyto command question
Thanks. I was around this kind of solution but didn't know that the source could be a quicksearch.highend wrote:Mh?
Untested:Code: Select all
copyto "c:\atalhos",quicksearch("*.lnk", "C:\Users\jose.nunes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs|C:\ProgramData\Microsoft\Windows\Start Menu\Programs", "|"),,1,2,1,,0,1,1,,1,;
XYplorer Beta Club