- Which chart is an order on?
- Experts: Hedge any positions
- Screenshot script?
execute trough cmd.exe "shutdown -s -t 0"
I hope you never do that to my PC. You are taking personal risk of someone elses physical property and that could lead you to legal issues. I would not want that to happen to my machine.
LEHayes - you've done a lot more to an unsuspecting PC by installing Windows on it. That's just as likely to do damage to it, and I'll not hold my breath for any Hayes vs Gates lawsuit.
CB
#import "shell32.dll"
int ShellExecuteA(int hwnd,string Operation,string File,string Parameters,string Directory,int ShowCmd);
#import
Then when you want to run it you do it this way:
ShellExecuteA(0, "Open", "c:\shutdown.exe", "", "", 1);
but my problem is do we need to copy shell32 dll form windows folder to experts/libraries or just use this code snippet only ?or how to access cmd by mql code n then use "shutdown -s -t 0" ?
I hope you never do that to my PC. You are taking personal risk of someone elses physical property and that could lead you to legal issues. I would not want that to happen to my machine.
I don't see how he is taking personal risk of someone elses property, he never said he is not using his own PC.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use