Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Sir,
Can i create a batch file by using Macromedia Flash code, and then run this batch file in, e.g. i simply click on the button and the code behind the button execute the batch file immediately with no Confirmation that 'i execute or no??'. It just execute it and then on the next frame i click the button to delete that batch file.
So, i want a help from you (Experts) that how can: I create, run and then delete a batch file by myself in flash script.Thanks alot sir for your kind responce.
Syed Fahad Hussain

Sounds like a malicious Flash SWF to me.
Anyway, you might be able to use the getURL() function of ActionScript to call an openEXE JavaScript function, but this might pop up a dialog box to save/open the EXE.
Something like this:
getURL('javascript: openExe');
Note: If this does work, your batch script would have to be compiled, and cannot contain commands like FOR.
"Computer security." — Oxymoron

Ahhh No sir this is not a malicious code, actually i want to make directories simply in back of click, to store my matadata files in it. Because i am designing a dictionary in it, so a user can simply stores new words when it wants so, it seems to be poor that a confirmation is made by Windows.
As i already done it by using special graphics effects for confirmation. So dont worry!!
Plz can u help me in such filing concepts??
The simple procedure is that:
1. A batch file is generated by Flash script of dictionary.
2. It then run in background and create user desired Directories, that user told flash script to create by Batch.
Just nothing anything else....
Thank u Very much Sir,
Syed Fahad Hussain

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |