Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Utilities Reference > Chapter 2 Workstation Utilities

WSUPDATE

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Purpose

Use at a workstation to update a file on multiple drives and subdirectories.

Syntax

WSUPDATE [<source path> [drive letter: | volume name:] 
[path\filename] [/option...]] | [/? | /VER]

Parameter

Use to

source path

Specify the path of the file you are updating from, including the filename. You cannot use wildcard characters.

drive letter

Specify a directory to search for outdated files. To search all mapped drives, use the /ALL option. To search all local drives, use the /Local option.

volume name

Specify an NDS Volume object. To search an NDS volume for outdated files, enter the full Volume object name relative to your current context. To search all mapped drives, use the /ALL option. To search all local drives, use the /Local option.

path \ filename

Specify a path, including the filename, so the search does not begin at the root.

/option

Specify one or more options from the "WSUPDATE Options" table.

/?

View online help. (Other parameters are ignored.)

/VER

View the version number of the utility and the files it uses to execute. (Other parameters are ignored.)

WSUPDATE Options

Option

Use to

/ALL

Search all mapped drives. You cannot specify a drive or volume with this option.

/C

Copy the new file over the old one, with no backup.

/CON

Continuously scroll the output.

/E

Erase the existing log file. Use with the /L option.

/F=[path\file]

Specify a file where the commands to update the workstation are stored. (Other options are ignored.)

/LOCAL

Search all local drives. You cannot specify a drive or volume with this option.

/ L=[path\file]

Specify the location and filename of a log file where WSUPDATE can store information. (Erase the log file using /E or a DOS delete command.)

/P

Get a prompt asking you whether to proceed. If there are no files to be updated, this option allows you to stop the session before it begins.

/O

Update all files, even those flagged Read Only.

/R

Rename the old file with an .OLD extension before copying the new file. (Use if you update a file but want to keep a copy of the old one.)

/S

Specify a search for outdated files in all subdirectories of the destination path.

Using WSUPDATE

  • WSUPDATE compares the date and time of the source and destination files. If the source file is more current, WSUPDATE updates the destination file.

  • WSUPDATE can be run from a batch file. In that case, you may want to use options such as File (F) and Proceed (P).

Examples

To

Type

Search all mapped drives and copy over old files

WSUPDATE VOL:SYSTEM\NET5.COM / ALL /C

Search local drives and rename the old file

WSUPDATE VOL:SYSTEM\NET5.COM / LOCAL /R

Specify file location

WSUPDATE /F=C:\NET3.COM

Additional Information

Topic

See

Drive mapping

"Drive mapping" in Concepts

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.