Help executing .bat file with cleo

OP
OP
V
Joined
Sep 9, 2018
Messages
5
Likes
0
Points
1
1
#7

supahdupahnubah

Well-Known Member
Joined
Dec 31, 2015
Messages
695
Likes
5
Points
48
#8
Valiuks said:
Edvincik said:
[shcode=cpp]
//by springfield      
0AA2: [email protected] = "shell32.dll"
if 0AA4: [email protected] = "ShellExecuteA" [email protected]
then
0AA7: [email protected] push 6 pop 1 params 1 0 0 "shutdown.bat" 0 0 error_code [email protected]  
if [email protected] <= 32
then
printf "FAILURE: %d" 1000 [email protected]
end
end
[/shcode]

ty and would be it possible to locate .bat file like in C:/Users/Documents etc. or it must be in gta folder?
yep
 
Top