Solved

Stop hardware device from command line

Posted on 2004-03-30
2
293 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to migrate DHCP sever on Windows 2003  to Windows 2008 4 504
Print Server: How to Create it? 1 758
auto copy 8 614
OPINIONS please : best Active Directory Monitoring tool 5 118
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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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