Dabz, I'm a little unclear on what I'm trying to achieve here, so since you have a non-admin account set up, perhaps you could tell me. ( Or someone else if you can help. )
Can I create the folder ok without permissions or do I need to get permission for that as well before I do it?
For example, on a non-admin account, does this code create the folder?
Yes, I know it's not the correct way to do it. I just don't want to write the whole thing until I'm clear on exactly what needs to be done.
Can I create the folder ok without permissions or do I need to get permission for that as well before I do it?
For example, on a non-admin account, does this code create the folder?
f FileType("C:\ProgramData\BlitzTest")<>2 CreateDir("C:\ProgramData\BlitzTest") DebugLog "CREATED THE FOLDER" Else DebugLog "THE FOLDER ALREADY EXISTED" End If
Yes, I know it's not the correct way to do it. I just don't want to write the whole thing until I'm clear on exactly what needs to be done.