Re: exec
- From: "steve" <a@xxxxxx>
- Date: Fri, 28 Oct 2005 12:09:26 -0500
| > You must escape all the "\" signs in the path as well, like this:
|
| > $ruta = "cmd /c
| > \"C:\\Server\\Apache2\\htdocs\\webvcr\\config\\bat\\a.bat\"";
| > exec($ruta);
|
| Or you could form the habit of using single quotes in which
| only ' has to be escaped (unless you do want escaped characters.
OR, leaving off the trailing "\" could help cmd to interpret "a.bat" as an
executable file rather than a directory/folder name. ;^)
.
- Follow-Ups:
- Re: exec
- From: Oli Filth
- Re: exec
- Prev by Date: Re: email attachment not found
- Next by Date: Re: Simple Web site builder
- Previous by thread: Re: exec
- Next by thread: Re: exec
- Index(es):
Relevant Pages
|