| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 23, 2002 5:32 pm Post subject: run command whatis going on :( |
|
|
hello all
I'am having a problem with the run command
if i do this
run dtvcl #234 >test.txt <----vds won't pass the variable to the program
if i do this
run test.bat > test.txt <---- won't work
if i do this
run rest.bat
in the batch file i have this
dtcvl #234 > test.txt <--- command line runs BUT it won't save output to text file
if i just double click on the test.bat it works fine it runs the command and save output to text file
how can i fix vds so that it will save the output to a text file?
thanks |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Aug 23, 2002 5:51 pm Post subject: |
|
|
Try using the full EXE name (or BAT, COM etc.) you're running,
and use the WAIT parameter if you're trying to load the file
into a list. Also use a full path to the destination file (it may
be writing to one wherever Windows happens to be working).
Something like this (RUNZ eliminates a DOS box flashing up):
RUNZ command /c dtvcl.exe "#234" > c:\test.txt , WAIT
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 23, 2002 6:15 pm Post subject: thanks |
|
|
thanks mac
i will give it a try |
|
| Back to top |
|
 |
|