Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a program from the Shell
Message
De
26/12/2005 23:12:18
 
 
À
26/12/2005 17:49:51
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01080875
Message ID:
01080906
Vues:
7
>What are you using for your "Shell"? CMD.EXE? ShellExecute API?

I use this from the VB.NET application:
           lnResult = Shell(toForm.JavaExtractor.Text + "\MyFile.bat >d:\Result.txt", AppWinStyle.NormalFocus)

But, even by simply opening a CMD window, I also cannot redirect to d:\Result.txt. The file is created but it is empty.

>Is the Java app a pure console application or a conventional Win32 app that's being invoked from a command line?

From the command line, this is how I execute it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform