gotadmin.vbs problem [solved]
Posted: 10 Mar 2012 02:29
i'm using this to run files with admin rights but it does't work here an example:
the file is copied but it keep copying it and many cmd windows pop up and disappear
[!]
if u gona try it save your work first because you might want to logoff to stop the cmd windows
Code: Select all
@echo off
cls
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\gotadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\gotadmin.vbs"
start /min %ComSpec% /c "%temp%\gotadmin.vbs"
copy d:\1.txt c:\1.txt
the file is copied but it keep copying it and many cmd windows pop up and disappear
[!]
if u gona try it save your work first because you might want to logoff to stop the cmd windows