Hi,
I am having some trouble, I have created a CD with a bunch of buttons through Flash, which connect to files, most of which are working. The two that aren't are a "browse CD" and "copy demo files" buttons.
The way that I have set it up is that the flash buttons connect to a .bat file. The batch files work fine on my computer, but as soon as I change them to a relative path and burn them to the CD they stop working. I am sure that the button is calling the batch files fine because a DOS screen flashes briefly when I click on them, but they don't go any farther.
The first command is to open the explorer window and I use:
start c:\windows\explorer.exe (and I would love for this to open the actual folder of the CD Rom, instead of just the main explorer window)
The second is to copy the demo files to the hosts computer:
@ECHO OFF
copy ..\Demo_Files\CIM.one "%HOMEPATH%\My Documents\My Notebook" /s /y
:END
Three things:
1. Does anyone know a command that will make that DOS screen stay up long enough so I can see the error message? Either I am not using "pause" correctly or it's error-ing before it reaches the command
2. Does anyone know if these commands SHOULD work (do they look right?)
3. Do you have a quick alternate way to make these darn things work?
For such a simple request, this is driving me nuts! So any help would be appreciated.
Thanks again
CC
I am having some trouble, I have created a CD with a bunch of buttons through Flash, which connect to files, most of which are working. The two that aren't are a "browse CD" and "copy demo files" buttons.
The way that I have set it up is that the flash buttons connect to a .bat file. The batch files work fine on my computer, but as soon as I change them to a relative path and burn them to the CD they stop working. I am sure that the button is calling the batch files fine because a DOS screen flashes briefly when I click on them, but they don't go any farther.
The first command is to open the explorer window and I use:
start c:\windows\explorer.exe (and I would love for this to open the actual folder of the CD Rom, instead of just the main explorer window)
The second is to copy the demo files to the hosts computer:
@ECHO OFF
copy ..\Demo_Files\CIM.one "%HOMEPATH%\My Documents\My Notebook" /s /y
:END
Three things:
1. Does anyone know a command that will make that DOS screen stay up long enough so I can see the error message? Either I am not using "pause" correctly or it's error-ing before it reaches the command
2. Does anyone know if these commands SHOULD work (do they look right?)
3. Do you have a quick alternate way to make these darn things work?
For such a simple request, this is driving me nuts! So any help would be appreciated.
Thanks again
CC