Ms Scheduler and WinXP Pro - Another headache?

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
Dave

Ms Scheduler and WinXP Pro - Another headache?

Post by Dave » Sat Mar 29, 2003 11:48 pm

I am using MSchd Pro Ver 7.1.15 on an WinXP Professional.
I can't get DeleteFile, or MoveFile, or CopyFile commands to work.

Example script:

Let>RP_WAIT=1
Run>C:\PFE\Pfe32.exe "C:\DatFiles\New\*.*"
IFE>C:\DatFiles\New\*.DAT,MOVDAT
Goto>CHKLOG
Label>MOVDAT
Mov>C:\DatFiles\New\*.DAT,C:\DatFiles\*.DAT
Label>CHKLOG
IFE>C:\DatFiles\New\*.LOG,MOVLOG
Goto>END
Label>MOVLOG
Mov>C:\DatFiles\New\*.LOG,C:\DatFiles\*.LOG
Label>END

I can move, copy and delete the files in the folders manually without problem. But the command in lines 6 and 11 above don't do nothing.
Please advise.

Second question is about the Message window. The window has the title Macro Scheduler. Can it be customized to fit our environment?

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Sun Mar 30, 2003 7:07 am

If you're using wildcards for the MOV procedure, don't include filenames for the destination.
Example:
Mov>C:\DatFiles\New\*.DAT,C:\DatFiles\

The only reason a target filename would be required, would be to use this function as a method to "rename" files, and in such a case, you would probably want to specify a target filename.

Dave

More question about this subject!

Post by Dave » Sun Mar 30, 2003 6:09 pm

Thanks for the advise, Captive.
I understand your advise and I am much obligated.
The real problem, however, is the commands don't work in WinXP environment. Same script or commands (copyfile, movefile, or deletefile) work find on WinNT. But in WinXP, the don't do anything.
Is MacroScheduler compatible with WinXP? or my version 7.1.15 Pro needs an upgrade?
Please advise.

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Sun Mar 30, 2003 8:50 pm

Well your initial script didn't work on Win2000 either. When I edited the MOV line as above, it worked ok.

WinXP is for masochists.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts