[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::windows-nt

Title:Windows NT
Notice:See note 15.0 for HCL location
Moderator:TARKIN::LIN.com::FOLEY
Created:Thu Oct 31 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6086
Total number of notes:31449

5800.0. "NT4.0 "AT" Scheduler Problems" by IOOSRV::HITTENMILLER () Thu Mar 13 1997 06:24

Hello,

 I'm have scheduler problems after upgrading to NT4.0. The "AT" command will 
not take more than a single command. The following list of "AT" commands
worked with NT3.51. Is there any other solution to this problem other than 
creating a file with the commands in and the submitting this file to the 
"AT" command?

Regards,
Bill Hittenmiller



1. The following works in WindowsNT 3.51 but not in 4.00:

   at 12:34 "f:\bkupexec\nt\scripts\do_backup.bat 2>&1 | cat >
             f:\bkupexec\nt\scripts\do_backup.log"

   The NT 4.0 error received is "The filename, directory name or volume
   name syntax is incorrect."


2. The following works in WindowsNT 3.51 but not in 4.00:

   at 12:34 "f:\bkupexec\nt\scripts\do_backup.bat >
             f:\bkupexec\nt\scripts\do_backup.log"

   The NT 4.0 error received is "The filename, directory name or volume
   name syntax is incorrect."


3. The following works in WindowsNT 3.51 but not in 4.00:

   at 12:34 "f:\bkupexec\nt\scripts\do_backup.bat 0"

   The NT 4.0 error received is "The system cannot find the file
   specified."


4. Only the works in WindowsNT 4.00:

   at 12:34 "f:\bkupexec\nt\scripts\do_backup.bat"

T.RTitleUserPersonal
Name
DateLines
5800.1CANDOO::GRIEBThu Mar 13 1997 11:568
Note that ">" and "|" are figments of the command processors mind
and NOT "native" to the CreateProcess() API. Thus you may get better
results if you prefix each command with "cmd /c rest_of_command_goes_here"

>   at 12:34 "f:\bkupexec\nt\scripts\do_backup.bat 2>&1 | cat >
>             f:\bkupexec\nt\scripts\do_backup.log"

5800.2DECWET::SCHREIBERDECeNTThu Mar 13 1997 12:012
    You need to quote the special characters ">" and "&" with "^".  This is
    a V4 change.