|
Answer» Ho people im writing a batch file or a few so may need alot of help.
ive got one and it paths through to a SERVER is there any way i can tell it when it asks for a username and password to just continue.
i mean some how put my username and password into the bat file code so anyone can USE it and it will just path through for them?
this is the place where it will ask me for the details
net use z: /delete net use z: "\\server and folder address will be here" echo Ready to copy ROIS Auto Directory pause
not SURE if there is AWAY i can do this
thanks people
ianyou could make it an if statment and sett a var like this
:pas_try set /p pas_ask=Password: if pas_ask==your_password goto good echo The password was bad! goto pas_try :good echo The password was corect!
then compile it to an exe. (I can do that for you if you would like!) <--just PM me
|