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 for windows.
![]() |
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 for windows.
Add this line:
For example drive mappingCode:PASSWORD /user:DOMAIN\USERNAME
Code:net use z: \\PATH PASSWORD /user:DOMAIN\USERNAME /persistent:no
How to transfer file between two machine using schedule task in windows 7
Same way as you would do it on earlier windows.
Write your batch file, then follow the create basic task wiz.
Then simply point it at the batch you have already written.
I am running windows 7 and I have batch file copy from 1 computer to another .it runs fine, but when I set it up to run in task scheduler it shows as completed successfully but nothing happens. No files are copied and the command box doesn't appear... any idea?
Check the permissions used.
All times are GMT -7. The time now is 02:13 AM. |