coband

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-11-25
03:36
2116 views
How can I use the File.Exists(filename) statement of VB.Net to Visual Cobol?
2 Solutions
Accepted Solutions
lanter-edv_ch

Vice Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-11-25
04:14
*> Test if File exists
declare TestFile as string.
set TestFile to "c:\temp\testtext.txt"
if type System.IO.File::Exists(TestFile)
display "'" & TestFile & "'" & " exists"
else
display "'" & TestFile & "'" & " does not exists"
end-if.
coband

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-11-25
04:31
2 Replies
lanter-edv_ch

Vice Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-11-25
04:14
*> Test if File exists
declare TestFile as string.
set TestFile to "c:\temp\testtext.txt"
if type System.IO.File::Exists(TestFile)
display "'" & TestFile & "'" & " exists"
else
display "'" & TestFile & "'" & " does not exists"
end-if.
coband

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-11-25
04:31