| View previous topic :: View next topic |
| Author |
Message |
Raymond175 Contributor


Joined: 24 Apr 2002 Posts: 72
|
Posted: Thu Oct 28, 2004 10:56 am Post subject: [resolved] Simple RUN question... |
|
|
Hello all,
I want to run a (non-vds) program (from within my vds program) with a lot of parameters, but one of these parameters is "where filename='bla'" (including the "). How can I create a RUN command with such a parameter?
RUN @SHORTNAME(%%Textcopy) /S swdc /U sa2 /P sa2 /D intranet /T projectdescriptions /C data /W "where filename='%%Filename'" /F @SHORTNAME(%%Filename) /I /K %%Chunksize, WAIT %%Timeout
Does not work. Windows cannot find the file /S
Thanks,
Raymond |
|
| Back to top |
|
 |
DelWolf Newbie
Joined: 16 Oct 2004 Posts: 4
|
Posted: Thu Oct 28, 2004 11:08 am Post subject: |
|
|
How about using the @chr(34)?
Would that work for you?
Sorry i am not much help, I am quite new myself.
| Code: |
RUN @chr(34)@SHORTNAME(%%Textcopy) /S swdc /U sa2 /P sa2 /D intranet /T projectdescriptions /C data /W "where filename='%%Filename'" /F @SHORTNAME(%%Filename) /I /K %%Chunksize, WAIT %%Timeout@chr(34)
|
|
|
| Back to top |
|
 |
Raymond175 Contributor


Joined: 24 Apr 2002 Posts: 72
|
Posted: Thu Oct 28, 2004 11:45 am Post subject: |
|
|
I found it out myself... I already worked, but the @SHORTNAME(%%Textcopy) did not exist...
And your solution may be basic, but it also worked! That's something I didn't think of! Great thinking!
Problem solved!
Thanks |
|
| Back to top |
|
 |
DelWolf Newbie
Joined: 16 Oct 2004 Posts: 4
|
Posted: Thu Oct 28, 2004 6:35 pm Post subject: |
|
|
| Your very welcome. It great to find something i came up with working, since I am only just learning vds. |
|
| Back to top |
|
 |
|