iPXE discussion forum

Full Version: Special characters in cmdline
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am trying to load a module whose command line contains "&&". Unfortunately, I could not find a way to convince iPXE to just pass this cmdline, instead it interprets the ampersands as part of the script. Is there any way to work around that, something like escape characters?

If I enclose the entire command line in quotes, it also does not work, because then those quotes are actually part of the cmdline, which confuses the module.

Any help is appreciated Smile
parthy
you will have to create a variable that contains &,
See the example in the notes at https://ipxe.org/cmd/set#notes
Oh okay, that might work. Thanks!
Reference URL's