Here is Vladimir's reply... And yes, he has tried forward slashes, versus backward slashes to no avail.
Original Message ----------------------- I starting script #1 Win32::Process::Create($ProcessObj, 'c:\\windows\\system32\\rsh.exe', "rsh 213.165.192.242 -l intercable sh accounting >a.log", 0, NORMAL_PRIORITY_CLASS, 'c:\\test'); $ProcessObj->Wait(2000); and get message Line has invalid autocommand "sh accounting >a.log" 213.165.192.242 - this address CISCO intercable - my server name I make BAT file with string @rsh 213.165.192.242 -l intercable sh account >user.log and starting #2 Win32::Process::Create($ProcessObj, "C:\\Test\\user.bat", "user.bat", 0, NORMAL_PRIORITY_CLASS, "C:\\Test"); $ProcessObj->Wait(2000); All working But, why not working #1 ? I got answer by Jonathan and add \\ to string while () { Win32::Process::Create($ProcessObj, 'c:\\windows\\system32\\rsh.exe', "rsh 213.165.192.242 -l intercable sh accounting \\>a.log", 0, NORMAL_PRIORITY_CLASS, 'c:\\test'); $ProcessObj->Wait(2000); } and have Line has invalid autocommand "sh accounting \\>a.log" :( Or I stupid, or BUG developers :) Own problem, after other problem, after ...... That is do ? Maybe again return to MASM32? Thanks, Vladimir _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs