Sage 100

 View Only
  • 1.  I run VI imports from scripts all the time but I'v

    Posted 04-07-2014 08:13
    I run VI imports from scripts all the time but I've got a question that I've always just avoided by changing the path or drive mapping. If my path has a space in it, can I embed quotation marks to make it work? I've tried several different placements for the quotes and I can't seem to get it to run properly.


  • 2.  RE: I run VI imports from scripts all the time but I'v

    Posted 04-07-2014 08:55
    I believe you need to put a set of quotes around each path in the line.


  • 3.  RE: I run VI imports from scripts all the time but I'v

    Posted 04-07-2014 09:05
    Yeah, that's what I thought. I tried that. I can get providex to start but it won't start the VI job. I get a file doesn't exist or already exists when I have quotes around all of the paths. Runs fine from maintenance or menu.


  • 4.  RE: I run VI imports from scripts all the time but I'v

    Posted 04-07-2014 16:21
      |   view attached
    You need actual quotes, you need CHR(34), and you need to force spaces. Here is an example of how I've dealt with that. I'm sure @DanBurleson has dealt with it too.

    Attachment(s)



  • 5.  RE: I run VI imports from scripts all the time but I'v

    Posted 04-07-2014 16:26
    Thanks Alnoor. I am using chr(34) but thanks for the example. I'm sure it'll show me what I'm doing wrong. I'll let you know.