in reply to diruse is not recognized

Supply the full path to "diruse.exe". Remember to escape the backslashes. Eg:
open(DIRUSE, "c:\\windows\\system32\\diruse.exe . |");
If the path contains spaces, you will need to include double-quotes to contain them.

             "I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
        -- Dr. Cox, Scrubs

Replies are listed 'Best First'.
Re^2: diruse is not recognized
by tobias_hofer (Friar) on Apr 16, 2013 at 06:54 UTC

    I know this may be a bit redundant information, but to ensure you do not forget any backslash you can also write it with single slash which makes it a bit more readable. Windows can handle single slashes - at least since XP/2000.

    my $dirUseResult =  qx(c:/windows/system32/diruse.exe);

    Cheers!