Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For some reason, this script
from slax does not work
or my understanding of it that is..
Code:
@ECHO OFF
REM ----------------------------------------------------
REM Batch file to create bootable ISO in Windows
REM usage: make_iso.bat c:\new-slax.iso
REM author: Tomas M. <http://www.linux-live.org>
REM ----------------------------------------------------
if "%1"=="" goto error1
cd ..
set CDLABEL=SLAX
slax\tools\WIN\mkisofs.exe @slax\tools\WIN\config -o "%1" -A "%CDLABEL%" -V "%CDLABEL%" .
echo.
echo New ISO should be created now.
goto theend
:error1
echo A parameter is required - target ISO file.
echo Example: %0 c:\slax.iso
goto theend
:error2
echo Error creating the ISO file
goto theend
:theend
pause
If I try to use it thru wine it says
Quote:
a parameter is required - target ISO file
Example Z:\home\bz\slax-6.1.1\make_iso.bat c:\target.iso
#!/bin/bash
# ---------------------------------------------------
# Script to create bootable ISO in Linux
# usage: make_iso.sh [ /tmp/slax.iso ]
# author: Tomas M. <http://www.linux-live.org>
# ---------------------------------------------------
if [ "$1" = "--help" -o "$1" = "-h" ]; then
echo "This script will create bootable ISO from files in curent directory."
echo "Current directory must be writable."
echo "example: $0 /mnt/hda5/slax.iso"
exit
fi
CDLABEL="SLAX"
ISONAME=$(readlink -f "$1")
cd $(dirname $0)
if [ "$ISONAME" = "" ]; then
SUGGEST=$(readlink -f ../../$(basename $(pwd)).iso)
echo -ne "Target ISO file name [ Hit enter for $SUGGEST ]: "
read ISONAME
if [ "$ISONAME" = "" ]; then ISONAME="$SUGGEST"; fi
fi
mkisofs -o "$ISONAME" -v -J -R -D -A "$CDLABEL" -V "$CDLABEL" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/isolinux/isolinux.bin -c boot/isolinux/isolinux.boot ../.
I think cmd.exe is so bound up with the rest of the Windows OS it can't be run separately like other apps in Wine. And I think you really would need it for running .bat files.
I think cmd.exe is so bound up with the rest of the Windows OS it can't be run separately like other apps in Wine. And I think you really would need it for running .bat files.
This seems right.. Isn't cmd actually a part of Internet Explorer, like most other Windows components??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.