R
Richard
This is somewhat a generic question, but hopefully someone can help.
I have a Batch file that is pushed to the technician's laptop, they then go
in the field and run this batch file to copy some files over to the XPe
systems in order to update the application executables. We normally use
DUA, but in this case a Batch file is easier and more reliable since some of
the systems do not have DUA installed on them.
My question is, sometimes, not always, when Explorer goes to access the
XPe's shared file folders, a Username and Password is asked, sometimes not.
I have not seen it yet using a CMD Prompt, but will DOS File copies across
the network ever require some sort of login? If so, how does one login
under a XP CMD Prompt?
A Simple Example of the Batch file.
sleep 5 'Allows the cmd window to
focus before executing the batch file
pskill \\dl1000 Winlogger.exe 'Kills the running application on the target
sleep 3 'Delays for visual aids only
copy /Y winlogger.cfg "\\DL1000\c\Program Files\Winlogger\"
sleep 3
copy /Y winlogger.exe "\\DL1000\c\Program Files\Winlogger\"
sleep 3
copy /Y version.txt "\\DL1000\c\"
sleep 3
psexec \\dl1000 ewfmgr c: -commit
sleep 3
psshutdown \\dl1000 -r
sleep 3
Thanks,
Richard
I have a Batch file that is pushed to the technician's laptop, they then go
in the field and run this batch file to copy some files over to the XPe
systems in order to update the application executables. We normally use
DUA, but in this case a Batch file is easier and more reliable since some of
the systems do not have DUA installed on them.
My question is, sometimes, not always, when Explorer goes to access the
XPe's shared file folders, a Username and Password is asked, sometimes not.
I have not seen it yet using a CMD Prompt, but will DOS File copies across
the network ever require some sort of login? If so, how does one login
under a XP CMD Prompt?
A Simple Example of the Batch file.
sleep 5 'Allows the cmd window to
focus before executing the batch file
pskill \\dl1000 Winlogger.exe 'Kills the running application on the target
sleep 3 'Delays for visual aids only
copy /Y winlogger.cfg "\\DL1000\c\Program Files\Winlogger\"
sleep 3
copy /Y winlogger.exe "\\DL1000\c\Program Files\Winlogger\"
sleep 3
copy /Y version.txt "\\DL1000\c\"
sleep 3
psexec \\dl1000 ewfmgr c: -commit
sleep 3
psshutdown \\dl1000 -r
sleep 3
Thanks,
Richard