Gamestudio Links
Zorro Links
Newest Posts
zorro license, IB connection
by miwok. 12/06/23 16:32
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (miwok, AndrewAMD, TipmyPip, 3run, Quad, 1 invisible), 645 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
exec and command cmd #419966
03/17/13 21:28
03/17/13 21:28
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
exec_wait(NULL,"XCOPY /y path ..\\ /e");
This work.

exec_wait(NULL,"del /s /q /f path");
this no WORK.
someone could teach me?

if I run a (file.cmd) the antivirus deletes it before, so I would like to use the command line directly to the engine


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________
Re: exec and command cmd [Re: NeoNeper] #419970
03/17/13 22:34
03/17/13 22:34
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Are you aware of these:

http://www.conitec.net/beta/afile_cpy.htm
http://www.conitec.net/beta/afile_rename.htm
http://www.conitec.net/beta/afile_delete.htm

The way you use exec looks in any way strange to me. You shouldn't pass NULL to it. This parameter is meant for the program. E.g.
Code:
exec_wait("xcopy","/y path ..\\ /e");



Always learn from history, to be sure you make the same mistakes again...
Re: exec and command cmd [Re: Uhrwerk] #420014
03/18/13 14:22
03/18/13 14:22
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
undertand. tankds Uhrwek. I'll test here


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1