send multiple files as arguments (‪Nilesoft Shell)

Discuss and share scripts and script files...
Post Reply
yusef88
Posts: 1113
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

send multiple files as arguments (‪Nilesoft Shell)

Post by yusef88 »

can we send multiple files to xyplorer as arguments
seems difficult https://stackoverflow.com/questions/270 ... m-explorer

my goal is create paper folder form selected files

Code: Select all

"C:\Program Files\XYplorer\XYplorer.exe" "paper:es" /feed=|::wait;goto "paper:es", 1;paperfolder(, RegExReplace(<clp>, '"', ""), , "ns");#250|
Last edited by yusef88 on 27 Jun 2023 02:28, edited 1 time in total.

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: send multiple files as arguments

Post by highend »

"C:\Program Files\XYplorer\XYplorer.exe" /feed="::paperfolder('es', <clp>, , 'nls');"
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Horst
Posts: 1065
Joined: 24 Jan 2021 12:27
Location: Germany

Re: send multiple files as arguments

Post by Horst »

Learned a nice command line :)
It was very easy to make a button in Total Commander which copies all selected files to the clipboard
and start this as paperfolder in XY.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3007)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1366a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.63

yusef88
Posts: 1113
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: send multiple files as arguments

Post by yusef88 »

thank you both for ideas
I did something better, a scripted button using <drop> variable
goto 'paper:es', 1;paperfolder(, "<drop>", , "ns");#250
switch to paper es if exists then drop files.

Horst
Posts: 1065
Joined: 24 Jan 2021 12:27
Location: Germany

Re: send multiple files as arguments

Post by Horst »

yusef88 wrote: 20 Jul 2022 14:16 thank you both for ideas
I did something better, a scripted button using <drop> variable
goto 'paper:es', 1;paperfolder(, "<drop>", , "ns");#250
switch to paper es if exists then drop files.
But this requires to hit the button in XY.
Your request was "can we send multiple files to xyplorer as arguments".
The method starting XY with arguments from outside is fully automatic
after some tool or batch has copied the list of files into the clipboard.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3007)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1366a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.63

yusef88
Posts: 1113
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: send multiple files as arguments

Post by yusef88 »

Hello everyone
if anyone uses Nilesoft Shell, and can help write the right syntax

Code: Select all

item(type='file' mode=multiple title='XY' image cmd='XYplorer.exe' args='/user=\"@sel(false, "|")')
https://nilesoft.org/docs/functions/sel
to echo get("CmdLineUser"); in XYplorer

Post Reply