Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Ret = dsFindPath("LDAP://domain.com/DC=domain,DC=com","(& (objectCategory=Person) (!(scriptPath='')) (!(scriptPath=prod.bat)) (!(scriptPath=test.bat)) )")
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/search_filter_syntax.asp
The above refernce explains that you don't actually search for "not null" but rather "is something". So, the following search filter works correctly:
"(& (objectCategory=Person) (!(objectClass=contact)) (scriptPath=*) )"
Article ID: W16796
File Created: 2007:07:03:14:26:18
Last Updated: 2007:07:03:14:26:18