home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
scrmod.zip
/
EXIST2.SCR
< prev
next >
Wrap
Text File
|
1992-06-15
|
397b
|
16 lines
> windowpos(25,100)
> windowprms(off,0,0)
> windowtitle('Testing the EXIST command')
> windowshow()
> if !exist ('c:\config.DEN')
> message ('File not found in root directory- WORKS')
> endif
> wait()
> filename = "c:\nofile.tst"
> if !exist (filename)
> message ('File not found in root directory- WORKS')
> else
> message ('File not found in suggested path')
> endif
> end