Dear,

Welcome to the board.

The problem you starting with doesn't have a relation with USE H: /delete part,
but the additional parameter /yes was wrong.
For deleting a specific drive mapping you may use

USE H: /delete
or
USE H: /delete /persistent

And we agree with LLigetfa that you are missing the "\" character.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA