
gotadmin.vbs problem [solved]
i'm using this to run files with admin rights but it does't work here an example:
Code:
@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