Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To find if a file exists

Status
Not open for further replies.

BigDudley

Programmer
Jun 29, 2000
2
US
How can you find out if a file exists in VB Script?  
 
hi <br>use the file scripting object to return a boolean value<br><br>Set fso = CreateObject(&quot;scripting.filesystemobject&quot;)<br>blnIsexist =&nbsp;&nbsp;fso.FileExists(&quot;c:\command.com&quot;)<br><br>have fun<br>ilan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top