Ask Experts Questions for FREE Help !
Ask
    YogeshS's Avatar
    YogeshS Posts: 24, Reputation: 1
    New Member
     
    #1

    Apr 2, 2009, 07:06 AM
    How to pass username & password through batch file
    Hello experts
    I am conneting to my ftp server through batch file.
    But every time it is asking me for username & password

    So how do I pass the authentification (username & Password) parameters through the batch file itself.

    (I need to automate my batch file , passing the username and password in the batch file itself)so that, user doesn't have to put in the authentication every time.

    Guide
    Helljack6's Avatar
    Helljack6 Posts: 107, Reputation: 8
    Junior Member
     
    #2

    Apr 2, 2009, 07:12 PM

    Try something like this?

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

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

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

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Automate batch file to accept username & Password [ 1 Answers ]

Hello experts I am conneting to my ftp server through batch file. But every time it is asking me for username & password So how do I pass the authentification (username & Password) parameters through the batch file itself. (I need to automate my batch file , passing the username and...

Batch file over LAN [ 2 Answers ]

I want to install bat file over lan

Sage Username and Password [ 1 Answers ]

Hi Guys, I just installed Sage Line 50 because I want to restore a backup. I created a new company and after entering all account information, I get asked for a username and password (haven't restored backup yet). Is there some default password entitled with Sage that I do not know of? Tried...

Username and password [ 10 Answers ]

Tell me someone username and password

Batch File In Dos [ 2 Answers ]

How do I make a batch file in dos that will open a program. I need to name the file S The file is acct\prog\solomon\solomon I have this in one PC but forgot how it create the command.


View more questions Search