Jump to content

freenas sharded folders not showing up


Recommended Posts

never mind I figured that out but now I have another stump I want to create a batch file to backup my files to it which I have done before but this time it is protected and needs a login and password to get into it, how would I implement that into my bat file

Link to comment
Share on other sites

A simple way would be to map a drive in XP to you NAS, you can do it in the gui in a heartbeat but if you want to do it via the command line you need to look at the net use command:

C:\Users\VaKo>net use ?
The syntax of this command is:

[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME


Save your credentials and you can just copy everything to your network drive without needing to use the net use commands in your bat.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...