Copying files from one machine to another
- by arex1337
I'm currently generating documentation on one machine, and publishing it to a web server using the following commands in a script:
net use "\\someShare" PASSWORD /user:username
del /S /Q "\\someShare"
xcopy /E /Y Documentation\html\* "\\someShare\"
However, it feels like a really bad idea to have a password as plain text in the script, so I'm…