Dir Command to an array
Hello
I would like to execute a dir */s command in windows and save the output into an array. I know I can do this in perl by doing executing the following command in a perl script:
@allfiles = `find / -print`;
How can do this in windows:
Thanks,
Andrew
.
Relevant Pages
- Re: Wait for background processes to complete
... To be able to execute commands in the background and wait for their ... The documentation I am referring to is http://perldoc.perl.org/. ... You can run a command in the background with: ... There is a general problem with perl documentation: ... (comp.lang.perl.misc) - Thanks for the comments Jan. 25, 2006
... "shadow" operating system which is running behind Windows. ... Perl can then collect data from that program and do ... that by sending longer strings etc. to the Windows clipboard and then having ... SendKeysuse a Ctrl V command to paste the information to the text editor ... (comp.lang.perl.misc) - Re: executing from command line
... if fact it's a way to run a command remotely. ... >> I have a perl script that i would like to run it on a windows server. ... >opening up a security hole on the remote machine when you do this. ... (comp.lang.perl.misc) - Re: Executing command with Runtime.getRuntime.exec() fails
... More portable, since on my windows system at least, there is an ls. ... command at the command line. ... The appropriate command interpreter for each os could be found through ... be sure, and programming is about certainty, is to explicitly execute the ... (comp.lang.java.programmer) - Re: Running Ring3 command from Ring0 in Windows?
... I am looking for a way to execute Ring3 command (for ex, ... The motivation of this is that I can exploit Windows kernel, ... executing in Ring0 only, and want to run some code in Ring3, too. ... (Pen-Test) |
|