[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] Using Call System under Windows XP




Can anybody Help,

We are in the process of upgrading all of our users from NT or W2K to XP. We 
use CALL SYSTEM a lot, mostly to activate copy commands on the system. We have 
discovered that the calls are failing under XP, although working under NT and 
W2K. The command string works under XP if called as a .bat file.

Below is a typical example command. I've anonymised the actual filenames

 LET $command = 'cmd /c @start /min /wait cmd /c copy <from_file> <to_file>'

 call system using $command_string #copy_status wait

The status returns as 0 under NT, as 1 under XP

Regards,

Don Simpson
BAE Systems


********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users