Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,671 of 42,547    |
|    foxidrive to Todd Vargo    |
|    Re: MOVE cmd and output redirection    |
|    31 May 13 10:26:38    |
      From: not@this.address.invalid              On 31/05/2013 05:11, Todd Vargo wrote:       > On 5/29/2013 11:48 PM, foxidrive wrote:       >> On 30/05/2013 13:30, Todd Vargo wrote:       >>> On 5/29/2013 10:15 PM, andrewniebling@gmail.com wrote:       >>>> This is the sub of the mapbasic program that creates the batch file and       then executes it, then deletes the batch file once it has copied the files.       >>       >>> Do the MOVE commands produce any error messages? Try adding " 2>&1" to       >>> the end of the move commands to capture any error messages to the log file.       >>       >> I thought the problem was that it didn't provide a log of the files that       were moved. It moved them fine       >> according to the OP.       >       > I am sorry if it annoys others when I color by numbers but I ask OP       > questions to confirm and suggested a harmless debugging method. Until I       > have it verified, my interpretation of the information above is, that is       > the *intent* of the mapbasic code as written, not that it is what it       > actually does. I suspect MapBasic's Winexec works like a windows       > application which does not provide i/o redirection. OP will have to confirm.              Fairy nuff. :)              It seemed to me that echoing the same move command line would provide a log -       if as you say it does       redirection. The OP didn't comment on my earlier suggestion so I wondered...                     --       foxi              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca