I’m having a problem with a CMD-style batch file on both Vista and XP machines where the SysVars check out fine (using the SET command at a prompt). PAUSE isn’t helping at all, either, in that the CMD window briefly appears, then quickly disappears, when double-clicking the file’s icon. Placing the file on my Desktop during testing, I’m having to open a CMD window, change to the Desktop directory and run it directly from the prompt to even see what’s going on. Since the referenced ClassicShell.chm file does not exist, I’m expecting to see the echo message.
File contents:
@if exist %programfiles%Classic ShellClassicShell.chm goto Folder_OK
echo CS path different. Email this error message.
pause
exit
Regardless of what I do, this is what is returned:
C:UsersMeDesktop>■@
‘■@’ is not recognized as an internal or external command,
operable program or batch file.
What gives?[/FONT]