Make a meun on a cd to run different files


















To read more about a specific product, click on a link below. SamLogic Software Blog Read the latest news, articles and tips in our blog. E-mail: info samlogic. From these menu interfaces you can run installation programs, launch applications, show documents, play movies, play Flash animations, open web pages etc. CD-Menu Creator can also be used to distribute product and company presentations, and electronic documentation like PDF and Word files.

Visual Installer is very easy to use; no programming skills are needed to handle the setup tool. Installations in different languages can be created and striking graphics can be shown during an installation. It is highly customizable, and allows the viewing and playing of a wide variety of media files, supports a wide variety of options for the playing of a file eg, playing once, playing all the files on the CD, playing files in order or randomly , supports Windows Media Player, QuickTime, RealPlayer and Flash, etc.

It can also write your CDs right directly as well. The program is useful if you need to create training videos, your own customized collection of music videos and songs, your promotional videos for your products, videos and pictures of your family, etc. The program runs on Windows 9x, , NT 4. This software lets you add a custom icon for your CD, DVD or USB storage device, create a label for the media, set shell commands for the drive's context menu, create an autorun configuration that runs a specific program when the CD or DVD is inserted into the drive, etc.

You will still need another program to create the menu if you need one. There's a command line option for this so you don't have to call cd yourself, so your rule would look like this. For the record, make always echos the command it executes unless explicitly suppressed , even if it has no output, which is what you're seeing.

Starting from GNU make 3. Also the -o pipefail flag might be of interest:. If set, the return value of a pipeline is the value of the last rightmost command to exit with a non-zero status, or zero if all commands in the pipeline exit successfully. This option is disabled by default. Here's a cute trick to deal with directories and make.

Instead of using multiline strings, or "cd ;" on each command, define a simple chdir function as so:. What do you want it to do once it gets there? Each command is executed in a subshell, so the subshell changes directory, but the end result is that the next command is still in the current directory. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.

Learn more. How do I write the 'cd' command in a makefile? Ask Question. Asked 12 years, 1 month ago. Active 5 months ago.

Viewed k times. Improve this question. Mateusz Piotrowski 6, 9 9 gold badges 46 46 silver badges 74 74 bronze badges. Davit Siradeghyan Davit Siradeghyan 5, 5 5 gold badges 22 22 silver badges 28 28 bronze badges.

It's unclear what you want to do, but, in my experience with make , I never wanted to change the directory like this. Maybe you should try another approach to your solution? It's a common newbie mistake to believe your directory is important. It's a common newbie mistake to believe your present working directory is inconsequential.

Many programs, especially shell scripts, are written with a specific value of. It's true that most tools are designed in such a way that you don't need to change your pwd for it. But this isn't always true, and I don't think it's a good idea to call it a "mistake" to believe your directory may be important.



0コメント

  • 1000 / 1000