Batch program not running correctly in Windows 7
Posted
by Jennifer Heidelberger
on Stack Overflow
See other posts from Stack Overflow
or by Jennifer Heidelberger
Published on 2010-06-18T14:35:08Z
Indexed on
2010/06/18
14:53 UTC
Read the original article
Hit count: 659
I am currently trying to figure out how to get a batch file to run correctly in Windows 7. I have looked on the Internet and have not had much success in finding any useful information on the issue I am encountering.
BATCH FILE – The batch file is to open a window to allow students to test on a TDSM server created by ETS eCBT – The test is a CLEP Exam. The batch file is to open the workstation for students to use and it looks like it loads but the Welcome/Login Screen never appears as it should.
WSK_LOAD.BAT
@echo off
rem--------------------------------------------------------------------
rem !!! DO NOT REMOVE OR MODIFY THIS FILE !!!
rem !!! THIS FILE IS USED BY THE eCBT SYSTEM !!!
rem--------------------------------------------------------------------
SET ECBT_DEFAULT_SERVER_NAME=WR-TESTING1
SET ECBT_BATCH_HOME=C:\ETSBATCH
SET ECBT_HOME=\\WR-TESTING1\tdms
set ECBT_LOGFILE=%ECBT_BATCH_HOME%\wsk.log
SET ECBT_CLIENT_VERSION=4.0
rem----------------------------------------------------------------------
if exist %ECBT_HOME%\client\bin\wks.bat goto avail
echo Cannot access %ECBT_HOME%!
echo Attempting to open the share …
echo If you see the share window, please close it to proceed …
rem------------------------------------------------------------------------
:avail
%ECBT_HOME%\client\bin\wks.bat
I have tried everything I can think of: Run as Administrator, Moved files to run from the HD, made sure all files and folders associated with the program were shared with users and computers, had Windows 7 run compatibility which says it does not contain an .exe file to run, and re-wrote the file.
I know it is connecting to the TDMS server as I can see it on the server. The only thing it does not do is bring up the window which is necessary to login to the testing server. The window opens like it should but does not produce the login boxes. Any and all help is appreciated, Jennifer
© Stack Overflow or respective owner