From: Ken Lehman <[EMAIL PROTECTED]> > I would like to write a perl script for windows that in the right > situation fires off another program, the problem is I can't get it to > work using system or exec calls. The file is in the program files > directory I tried system("c:\program files\etc...") and some > variations but I can't get it to work Help is appreciated Thanks in > advance. -Ken
(Program SPACE Files was one of the most stupid microsoft inventions) system( "\"c:\\program files\\etc\\some.exe\" ..." ) or system( q{"c:\program files\etc\some.exe\" ...} ) or system( qq{"c:\\program files\\etc\\some.exe" ...} ) Read up about q and qq in perldoc perlop Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]