How do you paste to a console from a PBDLL60 program?
To be more specific: i would like to run a bat-file that is located
in memory and not on disk (for security reasons). I have observed that
if I copy the content of the bat-file to the clipboard and then use
Edit|Paste in the console, then the bat-file is actually excuted. I would
therefore like to be able to simulate the Edit|Paste action from a
PBDLL60-program. What I'm looking for is a sub like this:
Regards
Peter
------------------
To be more specific: i would like to run a bat-file that is located
in memory and not on disk (for security reasons). I have observed that
if I copy the content of the bat-file to the clipboard and then use
Edit|Paste in the console, then the bat-file is actually excuted. I would
therefore like to be able to simulate the Edit|Paste action from a
PBDLL60-program. What I'm looking for is a sub like this:
Code:
sub ClipboardToConsole(byval sText as string)
Peter
------------------
Comment