So, I work at a school, and we're always running around updating windows, google chrome, and Java. So, I made a Bat file that currently opens windows updates, copys a java installation file to downloads and runs it, and opens google chrome. However, it would be more helpful if I could just have the file open the about chrome itself.The bat file looks like this right now:
title Updating
echo Updating Java to 1.8.60
xcopy /s \java8 C:\Users\Administrator\Downloads
start C:\Users\Administrator\Downloads\java8.exe
echo Opening Chrome
start C:\"Program Files (x86)"\Google\Chrome\Application\chrome.exe
echo Opening Windows Update
start C:\Windows\system32\wuapp.exe startmenu
So how would I make chrome.exe open "Chrome://chrome/" when I try to do things that would work for a normal URL, it removes the " : " from "Chrome://" and opens a new chrome window, attempting to open the url "Chrome//chrome/"
In the attached zip file, I tried to make a internet shortcut to the about chrome tab, and that also has bared no fruit.
Note: this is meant to be run from a flash drive so the flash drive's own driver letter is subject to change between computers, so I'm trying to make a bat file that would work without needing the flash drive letter. (If you look at the 'xcopy' line, you'll see that's what I am doing, since I have a folder within the flash drive named Java8.)
I attached a Zip file of the current flash drive's setup. You'll notice I have an autorun file in the directory (I've made the file extension of the autorun file '.off' to disable it for those who wish only to look at the Bat file)
Regarding the Autorun file, it's currently meant to run the Bat file as soon as you plug in the drive. However I have been unable to seen the autorun file actually work. The only difference i've seen sometimes is the computer asking what to do with the flash drive, none of the options being "Run update.bat". It's pretty straight forward, but just so people know what's in the file before opening it;
[autorun]
open=updates.bat
I'm assuming the image we installed on the computers have autorun off by default, to avoid infectious autorun files that may reside in student flash drives, so I'm not really concerned about the autorun file.
I've posted the file Here.