I have a .bat that I use to Hibernate win10 (one-click) .
Code: Select all
cd c:\
shutdown /h
I found this code
Code: Select all
; German forum: http://www.purebasic.fr/german/archive/viewtopic.php?t=1128&highlight=
; Author: Danilo
; Date: 25. May 2003
; OS: Windows
; Demo: No
lpCmdLine = GetCommandLine_()
If lpCmdLine
A$ = PeekS(lpCmdLine)
MessageRequester("INFO","Commandline: "+A$,0)
EndIf
So I need some help to figure out how t run .bat code as commandLine_() .
Thanks for your Help...