Link to home
Start Free TrialLog in
Avatar of mario_biron
mario_biron

asked on

Stop hardware device from command line

Hello,

I want to stop and start a hardware driver from the command line, in a AT job.

The hardware device is "USBSTOR", which is a small USB card reader.

The reason why is that, when I leave the office at night, I often forget to unplug it, and it takes 4 drive letters on my computer.  Because of this, another AT job (which compacts access databases automatically, updates them and copy them on the network) won't run properly because of a lack of drive letter to connect a network share to.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mario_biron
mario_biron

ASKER

Because of low levels command tools in the at batch file that don't support the use of unc paths.

Thanks for the solution, it was exactly what I needed!