Search found 9 matches

by CWK
22 Nov 2013 11:06
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

Have been studying the script to understand its components and how it flows and am curious: (a) what is the function of the carat (^) in CreateObject("WScript.Shell"^) (b) I gather that "echo check watch.out" is checking for the presence of watch.out, but in doing internet search...
by CWK
21 Nov 2013 22:26
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

Thanks, foxdrive, will give this a try and get beck to you if having problems.
by CWK
21 Nov 2013 17:58
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

I had registered. Dropbox was asking for your email address. Finally figured out how to get and send a link.
Hope it works.

https://www.dropbox.com/s/35xegnx6il6l4 ... ction.zipx
by CWK
21 Nov 2013 13:14
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

Sorry, but when dropbox asks me to enter a valid name or email address, what do I enter?
by CWK
20 Nov 2013 19:02
Forum: DOS Batch Forum
Topic: Running AutoIt from batch file in network drive - possible?
Replies: 1
Views: 3323

Running AutoIt from batch file in network drive - possible?

I have a simple batch file: echo on AutoIt3_x64.exe watch24.au3 that runs successfully if I put it and the associated exe and .au3 file in a folder on my HD. But if I try put it into a network drive and try to run it, I get: 'path of the network drive' CMD.EXE was started with the above path as the ...
by CWK
20 Nov 2013 18:54
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

3) m This is the batch file I hope will run the exe. The first echo supplies the name of the input file. The exe seems to start, then abort after the fourth echo input, when it tries to open the input file and cannot find it. Please note that the fifth echo ("") is an attempt to simple ent...
by CWK
20 Nov 2013 18:53
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

Posted this response about 8 hours ago but don't find it in thread, so here goes again:
Three files are at dropbox links as follows:
1) https://dropfile.external.slb.com/cgi-b ... d=vSMiTObm
This is the exe (a public domain code)
2) https://dropfile.external.slb.com/cgi-b ... d=g3NdLrCv
This is the input file to the exe

The third link will follow in next post.
by CWK
19 Nov 2013 16:48
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Re: Problem getting exe to recognize filename from batch fil

Thanks, have downloaded AutoIt and am evaluating for use.
In the meantime, being new to this forum and with only modest experience in other forums, it is not clear to me how to post a copy of the executable.
by CWK
18 Nov 2013 20:36
Forum: DOS Batch Forum
Topic: Problem getting exe to recognize filename from batch file
Replies: 14
Views: 11891

Problem getting exe to recognize filename from batch file

This is in Windows 7 but I hope XP will apply. Am trying to use a .bat file to supply answers to a series of prompts that come from an .exe file (compiled Fortran; don't have the un-compiled code and don't know the compiler used). The form of the batch file is: (echo w.in <this is name of input data...