home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************/
- /* */
- /* Demo of how to use and manipulate the DOS path and current */
- /* directory used by the TFW application (not other apps). */
- /* */
- /* Copyright 1995 deltaComm Development, Inc. */
- /* */
- /****************************************************************/
-
- main()
- {
- str ss[30], st[30];
- inputbox("", "Filename: ", st); // Get filename from user
- fnstrip(st, 12, ss); // Strip user input to PATH only
- printsc("Path = ");
- prints(ss); // Display the results
- fnstrip(st, 11, ss); // Strip user input to extention only
-
- if (ss="slt") // If the user named SALT source file
- compilescript(st); // then compile it!
- }
-