by
dblux_ » Mon Apr 09, 2012 1:24 pm
dblux_
What alba is trying to do is shut down ChemStation from the Command line in ChemStation, not the Command line of the operating system. I also tried your suggestion in ChemStation, and it does not work. If I bring the commands in DOS up, then your suggestion does work.
Gasman
In my opinion he/she wants to close Windows and Chemstation simultaneously using "shutdown -s" command. He/She is aware that Chemstation should be closed properly before Windows shuts down, and that may be accomplished by combining -f switch with -s.
He/she even want's to automate closing Windows and Chemstation by executing .bat or .cmd file - for saving time or just for fun.
Bearing that in mind closing chemstation from it's command line has nothing to do with saving time nor has any practical meaning.
Per analogiam It's obviously possible to use Chemstation commands to make arithmetic calculations (addition, multiplying etc.) but what for ?
(It's much more convenient to use calculator for this purpose).
BTW - why you tried to use OS command in Chemstation ? "Shutdown" is not a valid Chemstation command and can not be executed form it's command line.
FYI - shutdown is valid command of cmd.exe but not command.com (old good DOS)
MfG.