home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4986 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  756 b 

  1. Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: S105728@umrvma.umr.edu ( Steve Poulsen)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Command string
  5. Message-ID: <32164@adm.brl.mil>
  6. Date: 22 Aug 92 16:34:11 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 12
  9.  
  10. I believe this is what you are looking for.
  11.  
  12. ParamStr(n) will return the parameters where n goes from 1 to ParamCount.
  13.  
  14. If n is 0 then ParamStr returns the path and filename.  You could then use
  15. FSplit to break the path, drive, name and extension up.
  16.  
  17. ========================================      ,--,
  18.   Steven P. Poulsen <S105728@UMRVMA>       ,'  '--,
  19.   Student of Electrical Engineering        ---, ,'
  20.   University of Missouri - Rolla            ,','
  21. =======================================    , '
  22.