Shift! Nice! I never knew about that! Thanks a lot Kivi, Ray at work with first party software, my software, and Helios Textpad! > -----Original Message----- > From: Jeremiah Kivi Shapiro [mailto:kivi_s@xxxxxxxxx] > > > > "Costanzo, Ray" <rcostanzo@xxxxxxxxxxx> wrote: > > Is there a way to grab all arguments beyond #3 > > and stick them in one variable? > > SHIFT, and a loop, would do it. Try this: > > Set Arg1=%1 > Set User=%2 > Set Pass=%3 > SHIFT & SHIFT & SHIFT > Set Dates= > :Loop > IF "%1" == "" GOTO :Loopend > Set Dates=%Dates% %1 > SHIFT > GOTO :Loop > :Loopend > ECHO Done. Dates=%Dates% > > Yours, > Kivi > with some third-party software ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm