Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Strange "There is not enough space on the disk" error (Win32)

by nerfherder (Monk)
on Mar 29, 2005 at 09:10 UTC ( #443073=note: print w/replies, xml ) Need Help??

in reply to Strange "There is not enough space on the disk" error (Win32)

I think to have associated the file type on the command line, something like this happened:

C:\>ASSOC .pl=PerlScript FTYPE PerlScript=perl.exe %1 %*

system("dir") == 0 or die "system failed: $? , $!, $^E";


C:\mydir\> > test.out
system failed: 65280, No such file or directory, %1 is not a valid Win32 application at C:\mydir\ line 3.

I think that the problem is that a new shell is invoked from within the perl script, and the output of 'dir' can't make it back due to quirks in the ActivePerl implementation:

I agree with the above; gotta use pl2bat.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://443073]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2021-09-24 00:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found