Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

shell execute +batch file

DSP related issues, mathematics, processing and techniques

shell execute +batch file

Postby Freddymusic » Tue Aug 04, 2015 12:58 am

Hi!
I would like to run a batch file with the shell execute in the cmd. i am not pro in batch file. My problem, when i copy the batch into a text string and i run the exported exe, the exe file chrashes. Can the shell execute to run a complex command lines with cmd or it's work only per line?
My next test. I tryed to run the example.cmd batch file directly with the shell execute, but the cmd window not opened.
So what can i do?

Thank you!
freddymusic.hu
User avatar
Freddymusic
 
Posts: 30
Joined: Mon Apr 16, 2007 4:57 pm

Re: shell execute +batch file

Postby Freddymusic » Tue Aug 04, 2015 2:21 pm

Now when i make it with background option with the shell execute the software is not chrased. I tryed a wery simple command
start d:\bemutato\exp.cmd
the exp.cmd is killing the explorer.exe from the task. When i type this in cmd it's work perfectly, but when i want to use in SM it's not do anything. I see the Windows command processor in the task manager, but it's not work.
Anybody?
freddymusic.hu
User avatar
Freddymusic
 
Posts: 30
Joined: Mon Apr 16, 2007 4:57 pm

Re: shell execute +batch file

Postby Freddymusic » Tue Aug 04, 2015 3:56 pm

I found what is the solution. So shell execute not deeded the argument. I just gived the batch file into the path.
freddymusic.hu
User avatar
Freddymusic
 
Posts: 30
Joined: Mon Apr 16, 2007 4:57 pm


Return to DSP

Who is online

Users browsing this forum: No registered users and 7 guests