Information générale
Catégorie:
Codage, syntaxe et commandes
>>Well a batch file would work, but I'd rather not do it that way since the exestring varies each time based on user input. The app that I'm running has a configuration file that I could store the data in, but as I said it varies, and I'd have to fopen, fget, and fput frequently.. I may wind up having to do it that way, but I'd rather generate 1 string and execute it. Also do you know of a way around the 254 char max for a string?
>>Thanks
>
>Well, then, generate a one line .bat file.
Generating a one line batch file from a windows program to execute another windows program is not only sloppy programming, but in my case I would have to rewrite the batch file several times a day. Thanks, but no thanks. Winexec() from the win32api works just fine.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement