How to convert argument list to skip first argument???

Microsoft Windows
Post Reply
PiotrMP006
Posts: 19
Joined: 2021-Sep-01, 10:57 am

How to convert argument list to skip first argument???

Post by PiotrMP006 »

Hi

How to convert argument list to skip first argument?

%* = "C:\7-Zip Test\" "File&Test 1.txt" "File&Test 2.txt" "File&Test 3.txt"

After conversion, this should be the argument list

%filelist% = "File&Test 1.txt" "File&Test 2.txt" "File&Test 3.txt"


Please help
User avatar
Simon Sheppard
Posts: 191
Joined: 2021-Jul-10, 7:46 pm
Contact:

Re: How to convert argument list to skip first argument???

Post by Simon Sheppard »

SHIFT

Code: Select all

set _path=%1
shift
set _filelist=%*
Post Reply