Cynosure.X International LLC


Add Comment | Related Links | TrackBack
Related Content

HasNUL.bat (GPL)

After finding out that Windows Fundamentals for Legacy PCs (WinFLP) does not have the NUL device, I decided to write this batch file to determine whether NUL device exists on any given Windows installation. You can use this script in your own custom script to make your script smarter and void the missing NUL problem (see TrackBack below).

HasNUL.bat returns "true" if the NUL device exists, while it returns "false" if the NUL device doesn't exist. The following is an example of using HasNUL.bat in your batch file.

  call SetVariableToOutput.bat HasNUL.bat
if "%OutputVariable%" == "true" goto :nullExists

HasNUL.bat is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Attached File: HasNUL.bat (306 B)

Chieh Cheng
Wed, 16 Jul 2008 23:16:35 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: NUL Missing on WinFLP
Weblog: Cynosure.X International
Excerpt: 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.
Tracked: Wed, 16 Jul 2008 23:18:19 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 1 + 6?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

83 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.