Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to check the existence of a file in desktop
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
Code:
Set oFSO = CreateObject("Scripting.FileSystemObject")

Msgbox oFSO.FileExists("C:\Documents and Settings\UserName\Desktop\Somefile.txt")
Reply


Messages In This Thread
RE: how to check the existence of a file in desktop - by yaron.assa - 11-29-2008, 12:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't locate items on Win7 Desktop RandomGrin 0 1,981 01-30-2015, 10:55 PM
Last Post: RandomGrin
  "How to Count Desktop Icons" suresz449 5 7,742 11-23-2011, 09:53 AM
Last Post: suresz449
  Dialog box error while QTP scripts run from VM Desktop rahuldps 2 4,552 11-14-2011, 01:47 PM
Last Post: ravi.gajul
  Unable to login with the same code in different desktop vnsk 2 2,826 10-19-2011, 06:26 PM
Last Post: vnsk
  Write a program to Capture Desktop Screen shot kumarmoyilla 2 11,470 07-11-2011, 10:51 AM
Last Post: souvikghosh_diatm

Forum Jump:


Users browsing this thread: 1 Guest(s)