home *** CD-ROM | disk | FTP | other *** search
- /* clean.cmd */
- parse arg szCommandComArgs
- select
- when 'CMD' = address() then do
- 'STARTDOS clean'
- end
- when 'STARTDOS' = address() then do
- rc = StartBackground()
- rc = ExecSynchronous( )
- rc = SetCommandArgs( "/c cleandsk a:" )
- rc = StartWindowed()
- end
- otherwise do
- say 'Unexpected execution environment'
- return 4
- end
- end
- return 0