Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

VB Script for installing printers..

Thread Tools
 
Search this Thread
 
Old 08 April 2003, 01:41 PM
  #1  
ChristianR
Scooby Regular
Thread Starter
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

Making a VB script to install printers, however, I only want the script to use the first 3 characters of the machine name to decide which printer to install as default.

At the moment, I was planning to do it via a logon script first, so ...

IF %COMPUTERNAME%.==BUILDING1PC1 GOTO build1pc1

and then in that would run the right script to install the printer.

But must be an easier way? as I do not want to list all the machines that are in each room. I would just prefer to do it using the first 3 or 4 characters.. i.e. W17- or N115 etc.. as after this, the numer is the asset tag.

Any suggestions ? ?
Old 08 April 2003, 02:27 PM
  #2  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Mail me the details and Ill sort it..

David
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Reshard1977
Subaru Parts
9
13 November 2015 09:23 AM
Lillyart14
ScoobyNet General
24
01 October 2015 01:29 AM
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM
8ulldog
Subaru Parts
6
10 September 2015 12:06 AM



Quick Reply: VB Script for installing printers..



All times are GMT +1. The time now is 09:21 PM.