Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search for files
#1
I made a simple macro to search for specific files in the C:\ drive.

What I do not understand, and maybe it is Windows' itself, it does not find the files in another user's folder. The computer have multiple users but they are not password protected and all the files are accessible.

Is this working as designed?
#2
let's see the code you're using.
An old blog on QM coding and automation.

The Macro Hook
#3
Code:
Copy      Help
Dir d; str sPath
;find all dr podhaiskys files in entire drive and delete
foreach(d "c:\*podh*.txt" FE_Dir 0x4)
,sPath=d.FileName(1)
,out sPath
;,del- sPath; err


See above. It only finds the files on the current user I am on.
#4
If you are not logged on as an administrator, Windows denies access to some folders. You cannot open them in Windows Explorer, and QM cannot enumerate them.
#5
All users are administrators tho, I thought any admin can access any of the folders.
#6
Can you access these folders in Windows Explorer?
#7
Oh I see, others are password protected!

Gotcha!


Forum Jump:


Users browsing this thread: 1 Guest(s)