Y U NO respect enviromental paths ???

Aug 28, 2012 at 6:13 AM
Edited Aug 28, 2012 at 12:02 PM

Hello,

Thanks for an great software, i have test it and works flawless, however i wrote .bat file, that works great on stand alone, and it runs fine, by double clicking it, this bat includes the following:

stop an windows service

delete an punch of files

start the service again

 

Running the script using power trigger will only stop and start the service but wont delete bunch of files, after more testing its appears the Environmental path %appdata% is not supported? how come? i replaced %appdata% with an fixed location and that worked with power trigger , i tried change the bat run time to service and to current user, still no luck, plus changing the mode to run at specific user, seems off a bit, cause any username or password i type in there will tell me it "user successfully authenticated".

 

Please dont abandon this project, your hard work really pays off, not alot of apps can do what this smart software does.

 

Please provide any help or notes, when free, about the %appdata% issue.

 

Thanks in advance.

 

=============================================================================

After doing some testing it appears that %APPDATA% redirects to

C:\Windows\system32\config\systemprofile\AppData\Roaming\

Anyway you can stop that? i tried to change to run at specific User but does not work, do you have Tip that can help me in my situation, how to point to the

C:\Users\(Username)\AppData

and make this work on a accepting current user session variable

Thanks in advance