From: usenet@soleSPAMLESSassociates.com   
      
   On Wed, 17 Dec 2008 11:46:53 -0500, "Jim Giner"   
    wrote:   
   >   
   >"Kenneth" wrote in message   
   >news:fr8ik4tfq0k7l1v5j8m9350m7k15lspjje@4ax.com...   
   >>   
   >> Howdy,   
   >>   
   >> I run P9 with XP.   
   >>   
   >> I need to run a batch file from Paradox, but can't seem to   
   >> get it happy.   
   >>   
   >> The line is:   
   >>   
   >> if not execute("\\K06\\K06 apps\\ten.bat") then errorShow()   
   >> endif   
   >>   
   >> but when I run it, I get "error occurred trying to execute   
   >> the specified program."   
   >>   
   >> The batch file runs properly if I cut and paste everything   
   >> between the quotes into a run command.   
   >>   
   >> What's causing the failure?   
   >>   
   >> Many thanks,   
   >> --   
   >> Kenneth   
   >>   
   >> If you email... Please remove the "SPAMLESS."   
   >   
      
   >what is k06\k06? The chars between the quotes don't make sense as a command   
   >that DOS would have understood. If the file "ten.bat" is stored in the apps   
   >folder then that would be all you need (with the inclusion of a drive and   
   >perhaps the beginning of the path if apps is not in the root). If K06\K06   
   >is part of the path, then that space is certainly killing you as Tony   
   >suggested.   
      
   Hi Jim,   
      
   I just wrote to Tony that I had no space, but now I   
   understand what you are looking at...   
      
   Yes, K06 is the name of the system, and K06 Apps is the   
   share name of one of its disks. That was my attempt at   
   specifying the complete path after trying other approaches.   
      
   Assuming the problem to be the space, how should I specify   
   the path properly?   
      
   Many thanks,   
   --   
   Kenneth   
      
   If you email... Please remove the "SPAMLESS."   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|