SQLite Forum

Administrator SQLite
Login
If you create a batchfile (i.e. sqlite.bat) like this:

```
@echo off

set t=""
whoami /groups | findstr "S-1-16-12288"
if errorlevel 1 goto :next
if errorlevel 0 set t=".system title SQLite"
:next
sqlite3 -cmd %t%
```

Then running as a 'normal' user will not change, 

But as an elevated user, you will see the change in title.

The **whoami...** line was found here:
[check-for-elevation-at-command-prompt](https://superuser.com/questions/809901/check-for-elevation-at-command-prompt)