Box 24

 Home   Infos   Tipps   Webmail   Humor   Polizei   Gästebuch   Downloads   Chat   Suchen   Feedback   Links 

 

 Anmelden/Login   Neuanmeldung/New User   Java Telnet Applet   Telnet   
 

wcRefresh.wcx

(since 5.1.446)

wcRefresh.wcx is a wcBASIC coded utility designed for customers who move files in and out of the file directories and need to keep the file database current. It can used on selected files areas or for all files areas.

Note: The source code is included in the wcBASIC Plus Pack.

Optional Parameters

/nolog

Disable activity log. By default, this utility will log information to the current node activity log file.

/auto

No prompts

/areas

Areas to refresh (space delimited)

/verifyonly

Verify/Update File Library Entry Existence Only.

/addonly

Add New File Libraries Entries Only.

How to use in an automatic login situation for calling users

After a user logs in and after the personal mail is checked, WINServer will look for LOGON-*.WCX files to execute and run each one. If any, they will be stored in the \WC5 directory.

Simply copy the wcrefresh.wcx to the next LOGON-x.WCX file in sequence.

For example, if you have 3 of these files, then your next one is 4. If you have none, then your first one will be LOGON-1.WCX.

How to use in an wcEvent/batch file situation

If this program is executed with wcRun or with wcEvent, then it will attempt to log in as the "system" to perform a global file area wcrefresh.

Examples

wcrun -r wcrefresh
wcrun -r wcrefresh /areas 42 43 100
wcrun -r wcrefresh /addonly

How to use in the sysop menu

Administrators can add a menu hook to the sysop menu to run this progam. Since the sysop is a "logged in" user, the program will wcrefresh all file areas the sysop has access to.

Use WCMENU to add a run WCCODE program menu option to the sysop menu.

Long file names

wcRefresh.wcx was updated in AUP 5.5.450.2 to support long file names.

Note

Read the wcRefresh.txt in your wc5 directory for newest updates.

© 1999-2002 Hector Santos, http://www.santronics.com