I'm trying to figure out a reliable way to set the user's shellcommand properly for his or her system. Is "cmd.exe" always the right shell for Windows 2K and XP?

I've been thinking along these lines:

on setshell
set the hideconsolewindows to true
get shell("vol")
end setshell

on errordialog x
if "setshell" is in x then
set the shellcommand to "cmd.exe"
end if
end errordialog

Would something like this be dependable? Is there a better way?

Thanks,

Curry Kenworthy

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to