Can someone write me a simple batch file real quick?

Soldato
Joined
24 Sep 2005
Posts
20,185
Location
Middlesbrough
Basically I need...

c:\driver.dll renaming to c:\driver.old
copy c:\driver\driver.dll to c:\driver.dll
run driver.cmd

Should be a pretty simple one.

Thanks in advance :) :)
 
Dude , you have pretty much wrote it yourself !

ren c:\driver.dll c:\driver.old
copy c:\driver\driver.dll c:\driver.dll
call driver.cmd

give that a go
 
The file that i'm trying to rename is giving the error "The syntax of the command is incorrect"

The line i'm running is....

ren C:\Program Files\Common Files\BigHand\BHHIDDriver.dll "C:\Program Files\Common Files\BigHand\BHHIDDriver.old"

Any ideas?
 
you'll need the "" marks around the first file location due to the spaces.

So you get,

ren "C:\Program Files\Common Files\BigHand\BHHIDDriver.dll" "C:\Program Files\Common Files\BigHand\BHHIDDriver.old"
 
Back
Top Bottom