Jump to content

freenas sharded folders not showing up


Brennan
 Share

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:

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

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

NET USE [/PERSISTENT:{YES | NO}]

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

http://support.microsoft.com/kb/308582

http://technet.microsoft.com/en-us/library/bb490717.aspx

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.

Guest
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.

 Share

  • Recently Browsing   0 members

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