- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A DOS console program may be run interactively with user input provided by the keyboard, or in batch mode, in which case user input is provided from a file. In certain situations the program should behaved differently, and I want to check in which mode the program runs. We used to do this by using INQUIRE to check if UNIT 5 is connected to CONIN$, I believe this worked in older versions, but anyway it does not work now (UNIT 5 is connected to CONIN$ in both situations). I have gone through all the intrinsic functions, but cannot find any that solves this. So how should this be done?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page