Anonymous user
Check that file exists: Difference between revisions
m
reordering after lang rename
m (batch file migration) |
m (reordering after lang rename) |
||
Line 176:
RETURN
</lang>
=={{header|Batch File}}==▼
<lang dos>if exist input.txt echo The following file called input.txt exists.▼
if exist \input.txt echo The following file called \input.txt exists.▼
if exist docs echo The following directory called docs exists.▼
if exist \docs\ echo The following directory called \docs\ exists.</lang>▼
=={{header|C}}==
Line 283 ⟶ 289:
verify(sep~"input.txt"); verify(sep~"docs");
}</lang>
▲=={{header|Batch File}}==
▲<lang dos>if exist input.txt echo The following file called input.txt exists.
▲if exist \input.txt echo The following file called \input.txt exists.
▲if exist docs echo The following directory called docs exists.
▲if exist \docs\ echo The following directory called \docs\ exists.</lang>
=={{header|E}}==
|