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

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";

gives:

C:\mydir\>test.pl > test.out
system failed: 65280, No such file or directory, %1 is not a valid Win32 application at C:\mydir\test.pl 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: http://perlhelp.web.cern.ch/PerlHelp/faq/Windows/ActivePerl-Winfaq5.html

I agree with the above; gotta use pl2bat.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://443073]
help
Chatterbox?
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
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?