NUL Missing on WinFLP
Recently, I have been playing with Windows Fundamentals for Legacy PCs (WinFLP). And I have found that even though WinFLP thinks NUL exists, it actually doesn't exist(unlike Windows XP). So it's been breaking my batch scripts. The following is the error message from using the NUL device on WinFLP.
C:\>echo > nul
NUL is still a special device in WinFLP, becuase it certainly won't let you create or write to a "nul" file, therefore, producing the error message above. Question, is there a way to get the NUL device to work on WinFLP? Is there something that we can install?
After doing some more digging, I found that "%systemroot%\system32\drivers\null.sys" is missing on WinFLP, while it exists on Windows XP. Could this have to do with the missing NUL problem? I search through the Windows XP registry but didn't find anything related to null.sys. I wonder if it is possible to install null.sys on WinFLP.
I've been attacking this same problem for months now myself. While I love the minimalist nature of FLP, the lack of a proper NULL.sys means I can't really use it as a server.
I think that's what MS was thinking all along, to prevent FLP from being used that way.
Ok, I came across this web page: Windows Fundamentals for Legacy PCs
It explains how to get NULL to work on WinFLP. I haven't tried it myself yet. But it looks extremely promising!!! Will be trying it as soon as possible.
P.S. Funny thing, that web page is on the "Tao of Mac" web site!
Hahah! I knew it was possible!
Thanks to whoever made this!
I can't make it work. The null device, as far as my system is concerned, is still non-existent.
Could it be because I updated to SP3 before installing it? Have you had any luck with it?
I figured out what I did wrong.
When I first installed it, I accidentally copied null.sys into the wrong directory. When FLP restarted, it looked for the null.sys, failed to find it, and apparently marked the driver as "invalid".
Anyway, all I had to do was go back through, delete all the regstry keys that that .reg file added, and restart. Then I went back through the installation process again. Works just great.
Now I have a lightweight web server!
Thanks again for providing this resource.
That's excellent, Chuck!!! I love hearing good news like this. Because I've been thinking about installing a light-weight web server on WinFLP. The last time I tried running Apache, it crashes on start up. I am so happy to hear that NUL works!
Ok, I just followed the instruction and got NULL to work on WinFLP. That's a lot of work. So I'm going to automate the process for you guys. Attached below is the Null.reg file you need to apply to the registry. Download it, but don't apply it to your system. An installation batch file is coming next.
Ok, here is the installation batch file that will make your life easy. Download this file, download the Null.reg file from above, and put them into the same directory. Next, copy the following two files from your Microsoft Windows XP installation and put them in the same directory as the installation batch file.
After you done that, just double-click on Install.bat and the NULL device driver will be installed for your WinFLP automatically. You'll just have to reboot for the change to take effect.
Chieh Cheng, you're my hero. I love you. This problem frustated the hell out of me. Where can I donate? :P
I'm gonna drink a beer for your health,
Thomas van der Ploeg
Thomas van der Ploeg
cool dude =D
thanks very much!
Mr NULwhere man
thanks for this! saved my bacon. cheers!
The old link to the Tao of Mac website has expired (due to site redesign).
Great find you guys, consider this thread an internet-essential.
I googled the question as to why I can't get Firefox under WinFLP to go into the Internet (though it does go into the router) and I ended up here. Why?
Probably because there are very little information (relative to everything else) on WinFLP on the Internet.
Merci (from France) beaucoup pour cette solution
Thank you so much for this solution! Greetings from Czech Republic.
Thank you very much!
This was a brilliant solution to a problem I had on dumb terminal PCs with an embedded operating system. It saved delaying a major software upgrade rollout. Thanks!!!!!
Did your message disappear? Read the Forums FAQ.
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
Title: HasNUL.bat (GPL)
Title: Can't Run an Application on WinFLP
Spam Control | * indicates required field
Messages, files, and images copyright by respective owners.
81 Users Online
Copyright © 1996 - 2021. All Rights Reserved.