Home | Download | Demo | Feature list | Premium users | Support | Knowledgebase
How to fix WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
The network path was not found - The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
How to configure Windows Vista clients.
How to configure the windows firewall using group policies.
   
Welcome Guest Search | Active Topics | Members | Log In | Register

check for files. Options
d.i.saunders
Posted: Tuesday, September 09, 2008 12:29:17 AM

Rank: Premium user
Groups: Member , Premium Users

Joined: 8/7/2008
Posts: 42
Location: UK
is there an easy way to check if a file is present on a users desktop?
I have added this to the 'scanned files' section.

But for the report I don't know what to put. I just need to know the icon is there or not,,

Thanks
Lansweeper
Posted: Wednesday, September 10, 2008 7:47:44 PM

Rank: Administration
Groups: Administration

Joined: 2/10/2005
Posts: 1,451
Location: Hamme Belgium
Could you post the path of the file you want to find, I'll try to create a sample query
d.i.saunders
Posted: Wednesday, September 10, 2008 8:24:01 PM

Rank: Premium user
Groups: Member , Premium Users

Joined: 8/7/2008
Posts: 42
Location: UK
the file i have asked it to scan is

%userprofile\desktop\myicon.lnk

Im assuming i need to use the if exsisits but not sure where to go after that..

I would like to be able to include this on the software reports, simply showing how many people have this icon on the deskotp
Lansweeper
Posted: Friday, September 12, 2008 5:40:08 PM

Rank: Administration
Groups: Administration

Joined: 2/10/2005
Posts: 1,451
Location: Hamme Belgium
It would not be possible for the server to know where %userprofile% belongs to.
Multiple users can be logged on to the system and multiple userprofiles will exist on the system when more than one user logs on.

Maybe a solution would be to place the icon in the "All users" folder?
d.i.saunders
Posted: Friday, September 12, 2008 6:26:30 PM

Rank: Premium user
Groups: Member , Premium Users

Joined: 8/7/2008
Posts: 42
Location: UK
ok. that might work...
Whats the SQL i need to check for the existance of a file ?

thnaks
Lansweeper
Posted: Monday, September 15, 2008 6:18:49 PM

Rank: Administration
Groups: Administration

Joined: 2/10/2005
Posts: 1,451
Location: Hamme Belgium
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.

   
Quick links: Download - Premium users - Support 
Copyright 2004 - 2008 © Geert Moernaut - Hemoco bvba - All rights reserved