User may have changed their ‘name’ or PC name, so 

 

%homepath%\ does not include a Downloads sub folder

While 

%userprofile%\ does have the downloads\

 

Try doing a set cmd on that system and then look at the actual foldernames 
generated

 

JimB

 

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Richard Stovall
Sent: Thursday, June 05, 2014 3:50 PM
To: [email protected]
Subject: [NTSysADM] Quick SRP question

 

Any idea why the following path rules work:

 

%homepath%\*.zip\*.exe

%userprofile%\downloads\*.exe

 

And this one doesn't?

 

%homepath%\downloads\*.exe

 

 

----

 

I can accomplish what I'm trying to do, but I don't understand why the last one 
allows .exe files to run from the user's downloads folder.


Reply via email to