We still use an old terminal emulator called MiniSoft92 to access our HP3000. The program is pretty simple and I've used a batch file to "install" it on WinXP systems. Basically, it just copies files to the local drive off the network, puts a font into the Windows fonts folder, and a shortcut to the executable on the shared desktop. I modified the batch to run on Win7, but the batch fails. Specifically when trying to install the font, and placing the shortcut on the shared desktop.
It seems to be an administrative rights issue. And it doesn't matter if the user running the batch is a member of the local administrators group, if you run it while logged in as the local admin, or if you r-click the batch file and Run As Administrator. In fact, if you do the last, the batch doesn't run at all, where at least it will copy all the files under the other methods.
What am I missing, or what can I add to the batch to get this to run correctly on Win7?
Here's a copy of the batch:
net use x: \\swik-s-fs01\winapps
COPY /Y x:\HPMANMAN\ms9232\*.* c:\ms9232
COPY /Y x:\HPMANMAN\ms9232\WS92\*.* c:\ms9232\WS92
COPY /Y c:\ms9232\W92.FON C:\WINDOWS\FONTS
COPY /Y c:\ms9232\HPMANMAN.LNK "C:\Users\Public\Public Desktop"
net use x: /d