Announcement

Collapse
No announcement yet.

Batch files

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch files

    AMS v3.0.0.2
    when i run a batch file on the cd from the menu it gives me a bad command or file name error in the MSdos window
    but if i explore the cd and click it manualy it works fine
    ::exaple::
    [BATCH]
    batch file: stuff.bat
    commands:clip.exe stuff.txt
    echo your text has been copied
    "echo command displays fine"
    [menu]
    file name \stuff\stuff.bat
    working Dir %Src%\stuff

    [This message has been edited by odium (edited 05-01-2001).]

  • #2
    Re: Batch files

    Hi,
    What happens if you try to run your BATCH file from START -> RUN? Do you get any errors from there?
    Does the "Working Directory" have to be set to anything specific? Have you tried changing its value?
    Do you supply the full paths to "clip.exe" and "stuff.txt"? Where are "clip.exe" and "stuff.txt" located?
    What exactly does the error that you receive in the MS-DOS window say?
    Hopefully your answers to these questions will bring us to a solution.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment

    Working...
    X