Solved

Stop hardware device from command line

Posted on 2004-03-30
2
292 Views
Last Modified: 2010-04-13
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
0
Comment
Question by:mario_biron
2 Comments
 
LVL 83

Accepted Solution

by:
oBdA earned 125 total points
ID: 10714455
You should be able to that using devcon:

FILE: DevCon Command Line Utility Alternative to Device Manager
http://support.microsoft.com/?kbid=311272

But why don't you simply use UNC paths in the backup job instead of mapped drives?
0
 

Author Comment

by:mario_biron
ID: 10717978
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!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now