Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Batch Files Linux - Help !

    Hi I am new to this site. I would like some help with my linux batch files. I want to turn this code into linux.

    Sorry my comments are in french.

    rem Voir fichier menu.bat
    echo off

    rem Affiche les caractères en couleur blanche
    color 07
    rem début de la boucle

    rem Permet d'effacer l'écran

    rem initialise la variable reponse
    set reponse=null
    set /p reponse=Entrez le chemin complet du fichier que vous desirez modifier:

    rem Ouvre notepad avec le nom de fichier qu'il a donné, sinon on demande s'il veut le créer.
    notepad %reponse%.txt

    rem Fait un pause à l'écran pour la lecture

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    3rd rock from sun - Often seen near moon
    Hi Welcome to LFo!
    Could you please let us know the exact requirement of the script ? Above bat file has some comments which I don't understand.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    FOSS India Award winning ext3fs Undelete tool Online Linux Terminal

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    This is an english only forum. Could you please translate it for us? Usually these threads are removed pretty quickly but this one got by us. Sorry for the troubles.

    Sent from my SPH-D710VMUB using Tapatalk 2
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. $spacer_open
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Welcome to LinuxForums!

    Those look to be Windows commands for a Windows batch file.
    While the formatting would be similar to a Linux bash script, the syntax would not work at all.
    If you're looking to write a script to run on a Linux machine, this page might help with some of the common commands.

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts