silicontoad
06-18-2007, 05:55 PM
Hi
I dont know if this is a bug with CS3 or what.
Basically same old, FSCommand to exec a batch file (test.bat) which is placed in fscommand/test.bat which in turn executes a pdf file.
The Flash movie in question is a presentation/exe.
The batch file is being called since a cmd screen flashes briefly but nothing happens. (Action: when say a button is clicked)
The cmd window disappers but I have managed to get the message within it, dont ask how (screen recorder) LOL :p
Begin message ----------------------
'\\?\C:\root\fscommand'
CMD.exe was started with the above path as the current directory.
UNC paths are not supported. Defaulting to windows directory.
End Message ------------------------
The Action:
on(release){
fscommand("exec", "repPDF.bat");
}
-----------------------------
The Batch File:
@ECHO OFF
report.pdf
Variations of Batch File tried:
Variation1:
@ECHO OFF
start /d "report.pdf"
Variation2:
@ECHO OFF
start "" "report.pdf"
The report.pdf file is placed within the fscommand directory
Funny thing is when I double click the batch file all is well, the pdf file opens without a hitch.
Has anyone experienced something like this before in earlier versions of flash?
Am I missing something?
Any comments would be much appreciated.
Regards
Toad
I dont know if this is a bug with CS3 or what.
Basically same old, FSCommand to exec a batch file (test.bat) which is placed in fscommand/test.bat which in turn executes a pdf file.
The Flash movie in question is a presentation/exe.
The batch file is being called since a cmd screen flashes briefly but nothing happens. (Action: when say a button is clicked)
The cmd window disappers but I have managed to get the message within it, dont ask how (screen recorder) LOL :p
Begin message ----------------------
'\\?\C:\root\fscommand'
CMD.exe was started with the above path as the current directory.
UNC paths are not supported. Defaulting to windows directory.
End Message ------------------------
The Action:
on(release){
fscommand("exec", "repPDF.bat");
}
-----------------------------
The Batch File:
@ECHO OFF
report.pdf
Variations of Batch File tried:
Variation1:
@ECHO OFF
start /d "report.pdf"
Variation2:
@ECHO OFF
start "" "report.pdf"
The report.pdf file is placed within the fscommand directory
Funny thing is when I double click the batch file all is well, the pdf file opens without a hitch.
Has anyone experienced something like this before in earlier versions of flash?
Am I missing something?
Any comments would be much appreciated.
Regards
Toad