|
Thread: Bat
-
Apr 4th, 2003, 12:03 PM
#7
Hyperactive Member
well, to print a text file u use the TYPE command
Type MyFile.Txt
to leave it open, u dont put the exit command in the batch file. this depends on the user's setting too. in the PIF file of ms-dos prompt so, u can do something like that:
@Echo Off
Type MyFile.txt
Echo Press a key to exit
Pause > Nul
Exit
---
no u cant display a windows message box from a BATch file. I dunno if u can from a C/C++ for DOS application. (( correct me if i'm wrong ))
---
Good tutorials: go on google, type
"MS-DOS" +Toturial
and look thru the results
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|