home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 68,771 of 68,980   
   R.Wieser to All   
   Re: Use the remaining arguments ?   
   22 Apr 24 19:45:50   
   
   From: address@is.invalid   
      
   Herbert,   
      
   > Why not use the program name itself as first parameter,   
   [snip]   
      
   :-)  In that case I would not even bother to prefix the name of the   
   batchfile to that commandline.   
      
   > Or if you use numbers (or names) as first parameter to specify the program   
   > you can use something like this:   
   [snip]   
      
   Besides it throwing an error when an unknown first argument would be   
   provided, it also doesn't do what I asked :   
      
   calling it with "1 foo" would display "program 1 was called with parameter 1   
   foo".    Its exactly that last "1" that I'm trying to get rid of.   
      
   Regards,   
   Rudy Wieser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca