home *** CD-ROM | disk | FTP | other *** search
-
- CDTEST.C - test for a valid path from DOS prompt.
-
- This routine is useful in a batch file to test for
- the existance of a specified path.
-
- Syntax: cdtest path
-
- If the path exists, a 0 is returned in errorlevel
- and the directory is changed; otherwise a 1 is returned,
- and the directory remains the same.
-
- Comments to:
-
- Leroy Casterline
- 2625 Redwing Road - Suite 310-10
- Fort Collins, Colorado 80526
- (303) 223-3490 days
- (303) 484-9858 evenings
-
-