I just have a bunch of commands that at the start of the script delete previously used drives as listed below:

Run "NET USE W: /delete"
Run "NET USE Z: /delete"
Run "NET USE M: /delete"
DELPRINTERCONNECTION("\\AVCS-SV01\G1_4050N_190")
DELPRINTERCONNECTION("\\AVCS-SV01\G5_M5200N_192")

but sometimes there is no drive to delete, and it displays an error ... soo i just want these commands to run but so that they are not displayed on the window?

sorry if i am not explaining myself well .. i am new to this. thanks!