Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Windows quoting

by pc88mxer (Vicar)
on Jul 21, 2008 at 14:19 UTC ( #699051=note: print w/ replies, xml ) Need Help??


in reply to Windows quoting

Instead of trying to quote $some_argument, can you pass it as an argument?

system("x.bat", $some_argument);
and then reference it in your batch script as %1 (or however batch scripts do this.)


Comment on Re: Windows quoting
Select or Download Code
Replies are listed 'Best First'.
Re^2: Windows quoting
by rovf (Priest) on Jul 22, 2008 at 08:19 UTC
    Instead of trying to quote $some_argument, can you pass it as an argument?

    No, because I do not call the batch file. A different process on a different machine calls the batch file, and it expects only a batch file, which will be invoked without parameters.

    -- 
    Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://699051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-30 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls