Not really a DOS question but a scripting one.
I am writing a small script to automate some things around the office and i'm stuck on one part. What I want the script to do is parse a variable into the command below:
rundll32 printui.dll,PrintUIEntry /in /q /n<variable goes here>
The variable needs to be a \\printerserver\printer. It works okay if I use %1 and just start the batch file with the variable behind it but I'd rather have it prompt for the printerserver/share name. I tried doing a "set /p %printer%=" but that doesn't seem to work, the command executes blank w/ the "%printer%" variable after the "/n" in the command. Any help? All of the clients this will be ran on are XP and 2K.