| | |
Autorun.inf, a batch file and a backup drive.
![]() |
I use a dell RD1000-160GB backup drive on my network. The computer that this drive runs off of is a windows XP machine. After doing some research, I still find myself stumped on even whether or not it is possible to do what needs to be done (well doing it the way I am thinking of anyways). So here is my problem.
I have written a batch file (gbackup.bat) that simply does a quick format followed by a low-level format on the G drive (RD1000 backup drive). Every day, my company runs a backup, which is automated at about 11pm at night. In order for this backup to work correctly (for whatever reason), we need to run the batch file first. I would like to make it so that if you insert the new disk into the backup drive it will prompt the user (using Auto-play) with the option of running the batch file to do the formats. Everything I have read has pointed me in the direction of using an autorun.inf file. However, nothing talks about anything other than CD/DVD (and occasionally USB thumb drives). When I tried to write my own autorun.inf file, it is being completely ignored by windows. All-in-all, it boils down to a few questions.
1. Can you use an autorun.inf file on a backup drive?
2. If not, how would you automate a task such as this to run my batch file at a given time every day (this XP machine is hooked up to a windows server 2003 system)?
3. If so, where could I go to learn about how to do this specifically for a non-cd/dvd/usb thumb drive?
Posts on this topic are much appreciated and I thank you all ahead of time!
I have written a batch file (gbackup.bat) that simply does a quick format followed by a low-level format on the G drive (RD1000 backup drive). Every day, my company runs a backup, which is automated at about 11pm at night. In order for this backup to work correctly (for whatever reason), we need to run the batch file first. I would like to make it so that if you insert the new disk into the backup drive it will prompt the user (using Auto-play) with the option of running the batch file to do the formats. Everything I have read has pointed me in the direction of using an autorun.inf file. However, nothing talks about anything other than CD/DVD (and occasionally USB thumb drives). When I tried to write my own autorun.inf file, it is being completely ignored by windows. All-in-all, it boils down to a few questions.
1. Can you use an autorun.inf file on a backup drive?
2. If not, how would you automate a task such as this to run my batch file at a given time every day (this XP machine is hooked up to a windows server 2003 system)?
3. If so, where could I go to learn about how to do this specifically for a non-cd/dvd/usb thumb drive?
Posts on this topic are much appreciated and I thank you all ahead of time!
Time won't wait for you, so why wait till it is time?
•
•
Join Date: Mar 2008
Posts: 392
Reputation:
Solved Threads: 40
If your batch file works, use the Scheduled Tasks>Add a Task wizard to setup a time for it to run.
Eric
MCSE, MCP, A+, Network+
Managed IT Services Houston | Outsource IT Support Houston Texas
PinnacleReviews.com | Customer Reviews
MCSE, MCP, A+, Network+
Managed IT Services Houston | Outsource IT Support Houston Texas
PinnacleReviews.com | Customer Reviews
![]() |
Other Threads in the Windows NT / 2000 / XP Forum
- Previous Thread: Trojan
- Next Thread: System tray volume problem
| Thread Tools | Search this Thread |
.net 3.5 3daccelertion 2007 2010 a.exe alaris apache application appstore arm auto black blue book cellphones chinese collaboration computer computerfreezes crash cursor deployment desktop desktops dns domain dotnetnuke drive eartlink error errors features folder fontmanagers fonts format framework gadgets intel interoperability killprocess laptop laptops latitude linux load login mac microsoft mobile monitor motionle1600 netbooks novell nvidia operatingsystems osinstallationproblem osx outlook palm partition patch printer product proxy raid rds remotedesktop remotedesktopconnection replacingraiddrive retrieve screen server. simplifiedchinese sp1 ubuntu unreadable update usb verizon videodrivers videogames virtual virus vista visual vulnerability wab webos weecam win win32/heur windows windows7 windowsxp windowsxpnotstartingup. worm xp xpde





