Solved
Forum Discussion
2 Replies
Sort By
- HKosovaSmartBear Alumni (Retired)
Hi Dev,
You can use aqFilleSystem.Exists():
// JScript if (aqFileSystem.Exists("C:\\MyFolder")) Log.Message("Folder exists.") else Log.Message("Folder does not exist.");
- DevPereraOccasional Contributor
Hi HKosova,
Thanks For the reply. I am using VB scripts, so use you code as below and its works.
Sub checkforfolder
If aqFileSystem.Exists("C:\Folder1\Folder2") Then
Log.Message "C:\Folder1\Folder2 path exsist"
Else
Log.Message "C:\Folder1\Folder2 path NOT found!"
End IfEnd Sub
.........................
Thanks
Dev
Related Content
- 12 months agolalit_singh
- 6 months agosohailalam2696
- 2 years agoBlatchis
- 3 years agoxx97