D
Darren
Hi,
I am trying to create a batch file that copies a file to
the c:\documents and settings\all users\start
menu\prgrams\startup directory on users machines. The
batch file is executed from a novell login script. When I
execute the script I get an error message that
reads 'and' is not a recognised function.....
Is there any other way I can access this directory
REM @echo off
if exist c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\poaginst.exe goto DELMENUXP
if not exist c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\poaginst.exe goto COPYXP
ELMENUXP
del c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\poaginst.exe
:COPYXP
copy u:\Antivirus\epo\poaginst.exe c:\windows\temp
move c:\windows\temp\poaginst.exe c:\Documents and
Settings\All Users\Start Menu\Programs\Startup\
I am trying to create a batch file that copies a file to
the c:\documents and settings\all users\start
menu\prgrams\startup directory on users machines. The
batch file is executed from a novell login script. When I
execute the script I get an error message that
reads 'and' is not a recognised function.....
Is there any other way I can access this directory
REM @echo off
if exist c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\poaginst.exe goto DELMENUXP
if not exist c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\poaginst.exe goto COPYXP
ELMENUXP
del c:\Documents and Settings\All Users\Start
Menu\Programs\Startup\poaginst.exe
:COPYXP
copy u:\Antivirus\epo\poaginst.exe c:\windows\temp
move c:\windows\temp\poaginst.exe c:\Documents and
Settings\All Users\Start Menu\Programs\Startup\