Launching Windows internal commands from LEP

Peter Mew (6/8/14 10:13PM)
Keisuke Miyako (6/9/14 1:38AM)
Joshua Fletcher (6/9/14 8:04PM)
Joshua Fletcher (6/10/14 8:16PM)


Peter Mew (6/8/14 10:13 PM)

<CAO0oOqpv8fbgyBO2OJBVPe_BvQ+pcYsFrddJ5CUP0LvJ=fZM6Q@mail.gmail.com>

Hi
I cant get windows internal commands. like RD to work from LEP
External commands like ROBOCOPY, work fine.
The Line of code I'm trying to use for RD, "RD /S /Q Path"
Works fine from the Command Line
Any Help would be appreciated
Thanks
-pm

4D v13.4, Widows 7

Keisuke Miyako (6/9/14 1:38 AM)

Hello,

- what do you see in the StdErr stream from LEP?

- what is the content of Path?

if path ends with a backslash, and also contains space of other
characters
that need to escaped,
you need to quote the path for the characters and the closing quote
itself
needs to be escaped.

i.e. &igrave;My Folder\\&icirc;

miyako

I cant get windows internal commands. like RD to work from LEP
External commands like ROBOCOPY, work fine.
The Line of code I'm trying to use for RD, "RD /S /Q Path"
Works fine from the Command Line
Any Help would be appreciated
Thanks
-pm

Joshua Fletcher (6/9/14 8:04 PM)

Start with this (if you haven't already):

http://kb.4d.com/assetid=76658

Kind regards,

Josh

--
Josh Fletcher
Technical Account Manager
4D, Inc

color><param>00000,0000,DDEE/param>
/color>

-----Original Message-----
color><param>00000,0000,DDEE/param>HHi
I cant get windows internal commands. like RD to work from LEP
External commands like ROBOCOPY, work fine.
The Line of code I'm trying to use for RD, "RD /S /Q Path"
Works fine from the Command Line
Any Help would be appreciated
Thanks
-pm
/color>

Joshua Fletcher (6/10/14 8:16 PM)

Thanks Peter for confirming. ?I just updated the Tech Tip to make it
clearer:

http://kb.4d.com/assetid=76658

Kind regards,

Josh

--
Josh Fletcher
Technical Account Manager
4D, Inc

color><param>00000,0000,DDEE/param>
/color>

-----Original Message-----
color><param>00000,0000,DDEE/param>TThanks, yes I assumed it was
optional
-pm
/color>

Reply to this message

Summary created 6/11/14 at 8:03AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com