Jump to content

[VB6] Restart,Shutdown,Logoff Windows

Recommended Posts

Deci Pentru a Da Restart,shutdown,logoff la windows va puteti folosi de shutdown.exe din system32

Cod pentru Shutdown :

Shell "shutdown.exe -s"

Cod Pentru Restart :

Shell "shutdown.exe -r"

Cod Pentru Logoff :

Shell "Shutdown.exe -l"

Cod Pentru Abort :

Shell "Shutdown.exe -a"

ATENTIE : Codul De Abort Nu Functioneaza la Logoff.Astea sunt mici Comenzi

Parametri :

-a = Abort

-s = Shutdown

-l = LogOff

-r = Restart

Have Fun !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...