We currently have a number of network devices for example
NAS1
NAS2
They all have software on, that we use to go onsite to install software via a scrip, it would be nice to have a batch script to call the host name in the text file to save me editing 10+ devices with
:script
net use Z: /d /y
net use Z: \\nas1\ /USER:XXXX XXXX /y
See where i create a static link to nas1, would be nice for that to point to a text file,
Hope that makes scene ?
HELP PLZ: Dos to call host name in text file
Moderator: DosItHelp
Re: HELP PLZ: Dos to call host name in text file
Will there be multiple host names in the file or just one host name?
-
- Posts: 7
- Joined: 06 Mar 2012 08:02
Re: HELP PLZ: Dos to call host name in text file
Just the one
So NAS1 will have a text file called nas1.text & in thats text file the host name called NAS1 ?
So NAS1 will have a text file called nas1.text & in thats text file the host name called NAS1 ?
Re: HELP PLZ: Dos to call host name in text file
Do you want to store the username and password in the text file on each NAS?
Where will the batch file be? It can't be on the NAS itself because the NAS isn't mapped at that stage.
Where will the batch file be? It can't be on the NAS itself because the NAS isn't mapped at that stage.