Jacob Smith <[log in to unmask]>
Wed, 29 Jan 2014 11:07:25 -0600
text/plain
(21 lines)
|
I have written the following commands to a batch file: if exist "C:\windows\system32\drivers\file.sys" rename "C:\windows\system32\drivers\file.sys" "file.wassys" else rename "C:\windows\system32\drivers\file.wassys" "file.sys" I run it as administrator, and I've also typed it into the terminal in admin mode. Neither one does anything, no errors or prompts, nothing. I know that the file exists and will for a long time. I've written a few variants trying to change the working directory first, but they didn't work either. what am I missing? I've run the rename command alone and it worked fine. -- Blessings, Jacob Smith Visit our website regularly for FAQs, articles, how-to's, tech tips and much more http://freepctech.com |
ATOM RSS1 RSS2 |