Home General Chat
If you need urgent support, call 999 or go to your nearest A&E. To contact our Crisis Messenger (open 24/7) text THEMIX to 85258.

Connect to NAS via .bat file

Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
I've got 3 partitions on a NAs that im trying to connect automaticly at login, now they connect but only once you've typed in a username and password.

Now theres only one username and password but im unsure of the format of how it accepts it

At the moment the file reads as
net use Z: \\zeus\Public
net use B: \\zeus\Backup
net use Y: \\zeus\Network
username JimBob
password 1234

Obvisly the last 2 parts of information are in the wrong format?

Comments

  • Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    net help use shows you the syntax of the command.
  • Former MemberFormer Member Posts: 1,876,323 The Mix Honorary Guru
    You don't need a batch file to run everytime, /persistent:yes should do it.
Sign In or Register to comment.