TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: DOM CICCOTTO
date: 1997-06-26 14:59:00
subject: Running and setting the DOS() function f14:59:3206/26/97

From: Dom Ciccotto 
I have a macro which takes a list of NT stations and performs operations
("ping" etc) on each and writes the results on the line next to the
station name. I thought it would be a good idea to include a menu option
to add an "on the fly" command that could be excuted against the list.
  Example:
String Run_This[75]
ASK("Enter the command to run against each station", Run_This)
DOS(Run_This)
What I would like is to enter the following into the ASK :
          "Copy \\MAIN_SERVER\C$\The_DIR\*.EXE    \\" +  STATION +
"\C$\MY_DIR"
I need station to be reevaluated each time it "pulls" a new station
name.
Even though the "ASK" is entered before the macro starts "pulling" the
station names from the list.
In  dBASE/Clipper  this would be done with    DOS( &RUN_THIS)
The &  reevaluates the VAR each time.  Is there a way in SAL ????
      Thanks
       Dom Ciccotto
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.