|
-
Oct 19th, 2013, 02:40 PM
#20
Re: Working with batch files
 Originally Posted by cristyro
Maybe the two Shell from the code need to be ran at the same time? The first one starts the program and the second one sends the parameters to it...
Well, did you expect two separate instances of the command prompt window to be able to communicate with each other? Of course, they can't. You'll have to launch the app and pass parameters to it using a single batch file ...
OR ...
tell us exactly what the contents of the batch files you have now and I'll see if we can get rid of those batch files by using the technique in post #3.
If you will expose more of what you're trying to do, better approaches/solutions can be suggested.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|