Re: proper syntax for command

2011-05-24 Thread Brandon McCaig
On Tue, May 24, 2011 at 5:03 PM, Brandon McCaig wrote: > perl -e "print qx'C:\Program^ Files\Microsoft^ Visual^ Studio^ .NET^ > 2003\Common7\IDE\devenv /rebuild release abc.sln /useenv'" This should of course be one line (with a space between the ^ and the 2). > perl -e "print qx'"""C:\Documents

Re: proper syntax for command

2011-05-24 Thread Brandon McCaig
On Mon, May 23, 2011 at 8:02 AM, Irfan Sayed wrote: > L:\Console>perl -e qx/"C:\\Program Files\\Microsoft Visual Studio .NET > 2003\\Com > mon7\\IDE\\devenv /rebuild release abc.sln /useenv"/; > > plz suggest on how to correctly format the command so that perl can execute > that command I'm gue

Re: proper syntax for command

2011-05-23 Thread Jim Gibson
At 11:17 PM -0700 5/23/11, Irfan Sayed wrote: here is the actual code: use strict; use warnings; use Cwd; chdir "L:\\Console"; my $dir = getcwd(); print "current dir is : $dir\n"; my $res = system("dir"); $res=system("devenv","/rebuild","release","abc.sln","/useenv"); print "$res\n"; now, the i

Re: proper syntax for command

2011-05-23 Thread Kenneth Wolcott
On Mon, May 23, 2011 at 23:17, Irfan Sayed wrote: > here is the actual code: > > use strict; > use warnings; > use Cwd; > chdir "L:\\Console"; > my $dir = getcwd(); > print "current dir is : $dir\n"; > my $res = system("dir"); > $res=system("devenv","/rebuild","release","abc.sln","/useenv"); > pri

Re: proper syntax for command

2011-05-23 Thread Irfan Sayed
console pls suggest --irf ________ From: Jim Gibson To: Perl Beginners Sent: Tuesday, May 24, 2011 9:19 AM Subject: Re: proper syntax for command You chose to allow Jim Gibson (jimsgib...@gmail.com) even though this message failed authentication Click to disallow

Re: proper syntax for command

2011-05-23 Thread Jim Gibson
At 10:01 AM -0700 5/23/11, Irfan Sayed wrote: i tried this code, but in actual it is not executing the solution file. instead, it is opening the solution file and saying /rebuild release file not found plz suggest . i am really stuck Please show us the code you tried and the exact error mess

Re: proper syntax for command

2011-05-23 Thread Irfan Sayed
23, 2011 8:16 PM Subject: Re: proper syntax for command You chose to allow Rob Dixon (rob.di...@gmx.com) even though this message failed authentication Click to disallow

Re: proper syntax for command

2011-05-23 Thread Rob Dixon
On 23/05/2011 15:32, Irfan Sayed wrote: > From: Rob Dixon > Sent: Monday, May 23, 2011 7:55 PM > >> On 23/05/2011 13:02, Irfan Sayed wrote: >>> >>> i am using following command to build the solution file using perl >>> >>> perl says some error : >>> >>> following is the error : >>> >>> Bareword fo

Re: proper syntax for command

2011-05-23 Thread Irfan Sayed
, 2011 7:55 PM Subject: Re: proper syntax for command On 23/05/2011 13:02, Irfan Sayed wrote: > hi all, > > i am using following command to build the solution file using perl > > perl says some error : > > following is the error : > > Bareword found where operator expe

Re: proper syntax for command

2011-05-23 Thread Rob Dixon
On 23/05/2011 13:02, Irfan Sayed wrote: > hi all, > > i am using following command to build the solution file using perl > > perl says some error : > > following is the error : > > Bareword found where operator expected at -e line 1, near "qx/C:\\Program > Files\ > \Microsoft Visual Studio .N

Re: proper syntax for command

2011-05-23 Thread Shawn H Corey
On 11-05-23 08:39 AM, Irfan Sayed wrote: perl -e qx/"C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Com mon7\\IDE\\devenv \/rebuild release RMSDC.sln \/useenv"/; perl -e "qx/\"C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\IDE\\devenv \/rebuild release RMSDC.sln \/useenv

Re: proper syntax for command

2011-05-23 Thread Irfan Sayed
__ From: Shawn H Corey To: beginners@perl.org Sent: Monday, May 23, 2011 5:42 PM Subject: Re: proper syntax for command On 11-05-23 08:02 AM, Irfan Sayed wrote: > L:\Console>perl -e qx/"C:\\Program Files\\Microsoft Visual Studio .NET > 2003\\Com > mon7\\IDE\\deven

Re: proper syntax for command

2011-05-23 Thread Shawn H Corey
On 11-05-23 08:02 AM, Irfan Sayed wrote: L:\Console>perl -e qx/"C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Com mon7\\IDE\\devenv /rebuild release abc.sln /useenv"/; L:\Console>perl -e qx/"C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\IDE\\devenv \/rebuild release ab