I have an XP Pro computer that I setup on my domain. Loaded the printers under my Domain admin account. When another user logs on they do not see the printers. I'd like all users to have the printers when the log-on.
I was trying to use just "1" batch file with a variable, to install a single or all printers at one time, but I am having trouble figuring how to pass the variable.
I wanted to post a note in our Outlook Public folders' Knowledge Base that would call the batch and depending on the link used it would run different senario(s) of installs.
The KB article would consist of dif links that would run as follows
\\ServerName\admin\Printers\PrinterInstall.bat 1
\\ServerName\admin\Printers\PrinterInstall.bat 2
This works if ran from a cmd prompt but I get an error when trying to use links in Outlook Public folders that the path is incorrect.
Batch File
if "%1"=="1" goto CANON-01
if "%1"=="2" goto XrxDC460-01
if "%1"=="3" goto XrxDC460-02
if "%1"=="4" goto etc
if "%1"=="5" goto etc
if "%1"=="6" goto ALL
GOTO END
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.