Jump to content

kamakozai

Newbies
  • Posts

    2
  • Joined

  • Last visited

Everything posted by kamakozai

  1. Perfect thanks!! I did have to change the syntax a bit, but here is what I learned/did. I took your advice and moved the commands out of the batch file to create a single send event. The final event ended up being: cmd /c c: && cd $directory && dir /s /b >c:\filenames.txt Changing /c to /k was really helpful to debug as it kept the command prompt window open. I then realized that /c is the same as @echo OFF so I removed it. I also moved the directory question into the filemaker UI.
  2. I have created a simple batch file that will allow a user to enter a folder name and then it will export all of the file names into a txt file. the code looks like this: @echo OFf c: set /p name=What is the name of the folder: cd C:\Documents and Settings\user\Desktop\%name% dir /s /b >C:\filenames.txt I am using FMPA 11 and am trying to use Send DDE Execute to run this batch file. Anyone know what I enter into the following fields? Service Name: Topic: Commands: I am happy to move the commands out of the batch file and into file maker but the topic and commands have me stumped. I continually receive an error code of 3. " Command is unavailable (for example, wrong operating system, wrong mode, etc.) " Thanks.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.