RE: if/else statement problem.

2011-09-15 Thread Jimmy Tran
Thank you for that! Working now. From: Damien Solodow [mailto:damien.solo...@harrison.edu] Sent: Thursday, September 15, 2011 2:37 PM To: NT System Admin Issues Subject: RE: if/else statement problem. The ELSE clause must occur on the same line as the command after the IF. For example

RE: if/else statement problem.

2011-09-15 Thread Damien Solodow
filename. (del filename.) ELSE echo filename. missing DAMIEN SOLODOW Systems Engineer 317.447.6033 (office) 317.447.6014 (fax) HARRISON COLLEGE From: Jimmy Tran [mailto:jt...@teachtci.com] Sent: Thursday, September 15, 2011 5:26 PM To: NT System Admin Issues Subject: if/else statement problem. Can

if/else statement problem.

2011-09-15 Thread Jimmy Tran
Can someone please tell me what is wrong with this statement? if exist "C:\Program Files (x86)\Malwarebytes' Anti-Malware\mbam.exe" ( REG ADD "HKLM\Software\Wow6432Node\Malwarebytes' Anti-Malware" /v silentipmode /t REG_DWORD /d 1) ELSE ( REG ADD "HKLM\Software\Malwarebytes' Anti-Malware" /v