[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

batch files/dos commands from Xy4



How do I execute batch files in Xy4? I've forgotten how and looking through
Jumbo, find the instructions on this particular thing too terse to figure
out yet. Here's what I want to do, in order to cure an XP/Dell/Xy4 bug.
As I wrote before, after I suspend or hibernate on my Dell 8100/XP laptop,
time gets "lost" for the entire time the computer spends in
suspend/hibernation. The cure is to execute the DOS time command, pressing
return. Executing the command "time /t" dos the same thing without your
having to press return. What I want to do is to create a simple new command
in Xy4, let's call it now2 or nw. It will simply behave as "now" always did
except that before it executes, it will execute a DOS batch file that runs
"time /t" or will simply execute "time /t", then return to Xy4 to execute
the "now" without any further intervention. If I use dos /c in the command
line, that doesn't work, because " /t" doesn't get passed to the command
interpreter, or gets passed incorrectly, and the result is a prompt saying
"invalid time".