G
Guest
I have a winlogon based image with a RAM based overlay protecting the C
partition; I then have two further partitions (D and E) which are just
standard partitions. The image was originally based on the explorer image,
but now has a custom shell. Essentially it’s not a very complex image.
The problem comes when I try to run batch files. If I launch a batch file
that contains the following lines:
echo %DATE% %TIME% >>d:\shutdown.log
shutdown –s –f –t 0
It doesn’t run once and shutdown the machine, but rather runs repeatedly
(for an infinite number of repetitions as far as I can tell). The
shutdown.exe doesn’t report any errors and the shutdown log is filled with
dates. Also if I just type shutdown –s –f –t 0 the machine does shutdown. Has
anyone got any ideas as to what might be going on?
Thanks for any help,
Rob
partition; I then have two further partitions (D and E) which are just
standard partitions. The image was originally based on the explorer image,
but now has a custom shell. Essentially it’s not a very complex image.
The problem comes when I try to run batch files. If I launch a batch file
that contains the following lines:
echo %DATE% %TIME% >>d:\shutdown.log
shutdown –s –f –t 0
It doesn’t run once and shutdown the machine, but rather runs repeatedly
(for an infinite number of repetitions as far as I can tell). The
shutdown.exe doesn’t report any errors and the shutdown log is filled with
dates. Also if I just type shutdown –s –f –t 0 the machine does shutdown. Has
anyone got any ideas as to what might be going on?
Thanks for any help,
Rob